@extends('layouts.nova') @section('content')
Received Messages Notifications

Unread

{{ number_format($unreadCount) }}

Notifications that still need attention.

Loaded

{{ number_format($notifications->count()) }}

Items shown on this page.

Total feed

{{ number_format((int) ($notificationsMeta['total'] ?? 0)) }}

All notifications stored for your account.

@if($notifications->isEmpty())

No notifications yet

Follows, comments, likes, and system notices will appear here as your account becomes more active.

@else
@foreach($notifications as $item) @php $isUnread = !($item['read'] ?? false); $actor = $item['actor'] ?? null; $destination = $item['url'] ?: route('dashboard.comments.received'); @endphp
{{ $actor['name'] ?? 'Notification' }}

{{ $item['message'] ?? 'New activity' }}

{{ $item['type'] ?? 'notification' }} {{ $item['time_ago'] ?? '' }} @if(!empty($actor['username'])) {{ '@' . $actor['username'] }} @endif
@if($isUnread) Unread @else Read @endif
@endforeach
@if(($notificationsMeta['last_page'] ?? 1) > 1)
@for($page = 1; $page <= (int) ($notificationsMeta['last_page'] ?? 1); $page++) {{ $page }} @endfor
@endif @endif
@push('scripts') @endpush @endsection