@if(count($placements) > 0) @if($viewMode === 'grid')
@foreach($placements as $placement)
{{ $placement->getTranslation('name', app()->getLocale()) }}
{{ $placement->type->label() }}
{{ __('admin::lang.Items') }}
{{ $placement->banners_count ?? 0 }}
{{ __('admin::lang.Order') }}
{{ $placement->sort_order ?? 0 }}
{{ $placement->status->label() }} {{ ucfirst(str_replace('_', ' ', $placement->location)) }}
@endforeach
@else
@foreach($placements as $index => $placement) @endforeach
# {{ __('admin::lang.Space Name') }} {{ __('admin::lang.Placement Type') }} {{ __('admin::lang.Items') }} {{ __('admin::lang.Order') }} {{ __('admin::home.status') }} {{ __('admin::home.Action') }}
{{ $loop->iteration }} {{ $placement->getTranslation('name', app()->getLocale()) }} {{ $placement->type->label() }} {{ $placement->banners_count ?? 0 }} {{ $placement->sort_order ?? 0 }} {{ $placement->status->label() }}
@endif @else
{{ __('admin::lang.No Placements Found') }}

{{ __('admin::lang.Create your first placement to get started') }}

@endif