{{ __('canc.notifications.eyebrow') }}

{{ __('canc.notifications.title') }}

{{ __('canc.notifications.description') }}

@if($unreadCount > 0)
@csrf @method('PATCH')
@endif
@if(session('success'))
{{ session('success') }}
@endif
{{ __('canc.notifications.total') }}{{ $notifications->total() }}
{{ __('canc.notifications.unread') }}{{ $unreadCount }}

{{ __('canc.notifications.private_notice') }}

@forelse($notifications as $notification) @php($item = $presentedNotifications[$notification->id])
$notification->read_at === null])>

{{ $item['title'] }}

@if($notification->read_at === null){{ __('canc.notifications.new') }}@endif

{{ $item['body'] }}

@if($item['href']){{ __('canc.notifications.open') }}@endif @if($notification->read_at === null)
@csrf @method('PATCH')
@endif
@empty

{{ __('canc.notifications.empty_title') }}

{{ __('canc.notifications.empty_description') }}

@endforelse
{{ $notifications->links() }}