@section('title', __('site.page_pods_cat_title')) @section('head') @endsection @php $breadcrumb = [ ['label' => __('site.menu_item_3')], ['label' => __('site.menu_item_7'), 'url' => route('site.podcasts.r')], ['label' => __('site.page_pods_cat_h1')], ]; @endphp @include('includes/header-novo')
@include('includes.breadcrumb')

{{ __('site.page_pods_cat_h1') }}

{{ __('site.page_pods_cat_sub') }}

@include('includes.flash')
@if($apiError)

{{ $apiError }}

@elseif($allCats->count() == 0)

{{ __('site.page_pods_cat_empty') }}

@else
@foreach($allCats as $cat)
{{ $cat->name }} @if($cat->last_update_ep) {{ __('site.page_pods_cat_last_ep') }} {{ \Carbon\Carbon::parse($cat->last_update_ep)->format('d/m/Y') }} @endif {{ $cat->linked_podcasts ? trans_choice('site.page_pods_cat_usage', $cat->linked_podcasts, ['n' => $cat->linked_podcasts]) : __('site.page_pods_cat_usage_none') }} {{ \Carbon\Carbon::parse($cat->created_at)->format('d/m/Y') }}
@method('DELETE')
@endforeach
@endif
@include('includes.category-modal')
@section('scripts') @endsection @include('includes/footer-novo')