@php $theme = config('ui-theme.notifications'); @endphp {{-- Tag filter bar --}} @if(!empty($tags))
@foreach($tags as $t) @endforeach
@endif
@forelse($notifications as $notif)
{{ $notif->title }}
@unless($notif->isRead()) ! @endunless
#{{ $notif->id }}
{{ $notif->body ? Str::limit(strip_tags($notif->body), 80) : '—' }}
@if(!empty($notif->tags))
@foreach((array) $notif->tags as $tg) #{{ $tg }} @endforeach
@endif
{{ $notif->isRead() ? 'Read' : 'New' }} @if($notif->due_date ?? false) Due: {{ \Carbon\Carbon::parse($notif->due_date)->format('d M Y') }} @endif
📌 Created: {{ $notif->created_at->diffForHumans() }}
@if($notif->updated_at)
Updated: {{ \Carbon\Carbon::parse($notif->updated_at)->format('d M Y h:i A') }}
@endif
@if($notif->url) Open Link @endif
@empty

No notifications found.

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