@include('includes.breadcrumb')
{{ __('site.page_video_cat_h1') }}
{{ __('site.page_video_cat_sub') }}
@include('includes.flash')
@if($s)
{{ __('site.search_results') }} {{ $s }}
@endif
@if($apiError)
@elseif($allCats->count() == 0)
{{ __('site.page_video_cat_empty') }}
@else
@foreach($allCats as $cat)
@php $total = $usage[$cat->id] ?? 0; @endphp
{{ $cat->name }}
/{{ $cat->slug }}
{{ $total ? trans_choice('site.page_video_cat_usage', $total, ['n' => $total]) : __('site.page_video_cat_usage_none') }}
{{ \Carbon\Carbon::parse($cat->created_at)->format('d/m/Y') }}
@endforeach
{{ $allCats->links('vendor.pagination.painel') }}
@endif
@include('includes.category-modal')
@section('scripts')
@endsection
@include('includes/footer-novo')