@push('css') @endpush

{{ __('labels.safety_information') }}

@if(isset($safetyInformation['count']) && $safetyInformation['count']) {{ __('labels.total') }} : {{ $safetyInformation['count'] ?? '' }} @endif
@forelse($safetyInformation['list'] as $index => $item)
@if($item?->category?->title) {{ $item?->category?->title }} @endif {{ date('M d, h:i A', strtotime($item['published_at'])) }}
@if($item['is_locked']) @endif @if($item['is_approved']) @endif {{ htmlspecialchars($item['title']) }}

{{ Str::limit($item['description'], 80, '...') }}

{{-- {{ ucfirst($item['status']) }} --}}
@empty

{{ __('labels.no_safety_information_yet') }}

@endforelse
@push('js') @endpush