@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')
|
@if($detail->position == 'category')
On Category Page @elseOn Product Detail Page @endifDisplay 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.')}} |