@push('css') @endpush
@if (isset($currentCategory) && $currentCategory) {{ $currentCategory->title }} @else {{ __('labels.all_items') }} @endif {{-- @if ($currentCategory->is_active) {{ __('labels.active') }} @else {{ __('labels.inactive') }} @endif --}} {{ $totalItems ?? 0 }} {{ __('labels.items') }} @if (isset($currentCategory) && $currentCategory) {{ __('labels.currently_viewing') }} @endif
@if ($currentCategory && $currentCategory && $currentCategory->description) {{ Str::limit($currentCategory->description, 40, ' ...') }} @endif @if (isset($currentCategory) && $currentCategory)
{{ __('labels.created_by') }}: {{ $currentCategory->author_name ?? ($currentCategory->creator?->name ?? 'System') }} {{ __('labels.created_at') }}: {{ $currentCategory->created_at?->format('d.m.Y H:i') }}
@endif
{{-- @if (isset($currentCategory) && $currentCategory) --}} {{ __('labels.all_categories') }} {{-- {{ __('labels.back_to_categories') }} --}} {{-- @endif --}} {{-- --}}