@if($isOpen)
Notifications @if($unreadCount > 0) {{ $unreadCount }} unread @endif
@if($unreadCount > 0) @endif
@if($alerts->count() > 0)
@foreach($alerts as $alert) @php $colors = $this->getUrgencyColors($alert->level); @endphp

{{ $alert->title }}

{{ $alert->message }}

{{ $alert->created_at->diffForHumans() }}

@if(!$alert->is_read)
@endif
@if(!$alert->is_read) @endif
@endforeach
{{-- Load More Button --}} @if($hasMore)

Showing {{ count($alerts) }} notifications

@endif @else

No notifications

You're all caught up!

@endif
@endif