@extends('admin.layouts.master-soyuz') @section('title',__('Block Detail Page Advertising')) @section('body') @component('admin.component.breadcumb',['secondaryactive' => 'active']) @slot('heading') {{ __('List Block Detail Page Ads') }} @endslot @slot('menu1') {{ __('List Block Detail Page Ads') }} @endslot @slot('button')
{{ __('ID') }} | {{ __('Preview') }} | {{ __('Ad Position') }} | {{ __('Details') }} | {{ __('Status') }} | {{ __('Action') }} |
---|---|---|---|---|---|
{{ $key+1 }} | @if($detail->linkby != 'adsense') @else {{__('Google adsense preview not available !')}} @endif |
@if($detail->position == 'category')
{{ __('On Category Page') }} @else{{ __('On Product Detail Page') }} @endif{{__('Display On')}}: @php $detailpage = App\Category::where('id',$detail->linked_id)->first(); if(!isset($detailpage)){ $detailpage = App\Product::where('id',$detail->linked_id)->first(); } @endphp @if(isset($detailpage)) @if(isset($detailpage['name'])) {{ $detailpage['name'] ?? '-' }} @else {{ $detailpage['title'] ?? '-' }} @endif @endif |
Linked To: @if(isset($detailpage)) @if($detail->linkby == 'detail') {{ $detail->product['name'] ?? '-' }} @elseif($detail->linkby == 'category') {{ $detail->category['title'] ?? '-' }} @elseif($detail->linkby == 'url') {{__("Custom URL")}} @elseif($detail->linkby == 'adsense') {{__("Google Adsense Script")}} @endif @if($detail->top_heading !=''){{__("Heading Text")}}: {{ $detail->top_heading }} @endif @if($detail->btn_text != ''){{__("Button text")}}: {{ $detail->btn_text }} @endif @endif |
@can('blockadvertisments.edit') @endcan |
@can('blockadvertisments.edit')
{{ __("Edit") }}
@endcan
@can('blockadvertisments.delete')
{{ __("Delete") }}
@endcan
{{ __("DELETE") }}{{ __('Are You Sure ?')}}{{ __('Do you really want to delete')}}? {{ __('This process cannot be undone.')}} |