{{ __('admin::lang.showing_inactive_content') }}
@if(collect($contents)->count() > 0)
@foreach($contents as $item) @endforeach
{{ __('admin::lang.preview') }} {{ __('admin::lang.Name') }} / {{ __('admin::lang.Title') }} {{ __('admin::lang.Status') }} {{ __('admin::lang.last_updated') }} {{ __('admin::lang.Actions') }}
@if(isset($item->content_type) && $item->content_type === 'product') @php $product = $item->displayable_product; @endphp @if($product && $product->image_path) @else
@endif @else @if($item->desktop_image_url) {{ $item->name }} @else
@endif @endif
@if(isset($item->content_type) && $item->content_type === 'product') @php $product = $item->displayable_product; @endphp
{{ $product ? $product->title : 'N/A' }}
Product ID: {{ $item->product_id }} @else
{{ $item->name }}
{{ isset($item->title) ? Str::limit($item->title, 60) : '' }} @endif
@if($item->status->value == 'active') {{ $item->status->label() }} @elseif($item->status->value == 'scheduled') {{ $item->status->label() }} @else {{ $item->status->label() }} @endif {{ $item->updated_at->diffForHumans() }}
@else
{{ __('admin::lang.no_history_found') }}
@endif