@if ($items === [])

{{ $emptyState['title'] ?? 'Nothing urgent in your current scope' }}

{{ $emptyState['body'] ?? 'Recent operations and alert deliveries look healthy right now.' }}

@if (filled($emptyState['action_url'] ?? null))
{{ $emptyState['action_label'] ?? 'Open operations' }}
@endif
@else
@foreach ($items as $item) @php $destination = $item['destination'] ?? null; $actionUrl = is_array($destination) && ($destination['disabled'] ?? false) === false ? ($destination['url'] ?? null) : null; @endphp
{{ $item['tenant_label'] }} {{ str_replace('_', ' ', $item['urgency']) }} {{ $item['badge'] }}
{{ $item['title'] }}
{{ $item['body'] }}
@if (filled($item['supporting_message'] ?? null))

{{ $item['supporting_message'] }}

@endif
@if (is_string($actionUrl) && $actionUrl !== '') {{ $destination['label'] ?? 'Open' }} @else {{ $destination['label'] ?? 'Unavailable' }} @endif @if (filled($item['helper_text'] ?? null)) {{ $item['helper_text'] }} @endif
@endforeach
@endif