@include('includes.breadcrumb')
@include('includes.flash')
{{ __('site.page_post_h1') }}
{{ __('site.action_add') }}
@if($s)
{{ __('site.search_results') }} {{ $s }}
@endif
@if($allPosts->count() == 0)
{{ __('site.page_post_search_results_noreg') }}
@else
{{ __('site.page_post_table_head_1') }}
{{ __('site.page_post_new_side_grid1_label_1') }}
{{ __('site.page_post_table_head_2') }}
@foreach($allPosts as $post)
@php
$status = $statusMap[$post->status] ?? ['icon' => 'fa-file-lines', 'tone' => 'draft', 'label' => __('site.page_post_new_side_grid1_option_3')];
$date = $post->status == '3' ? $post->schedule_timestamp : $post->created_at;
@endphp
@endforeach
{{ $allPosts->links('vendor.pagination.painel') }}
@endif
@section('scripts')
@endsection
@include('includes/footer-novo')