@if ($notifications->count() > 0)
@foreach ($notifications as $notification)
@if (!$notification->read_at)
@endif
{{ $notification->data['message'] ?? 'Notification' }}
@if (!$notification->read_at)
{{ trans('admin.unread') }}
@endif
{{ trans('admin.from_user', ['name' => $notification->data['user_name'] ?? 'Unknown', 'email' => $notification->data['user_email'] ?? '']) }}
@if (isset($notification->data['action_url']) && $notification->data['action_url'])
@endif
@if (!$notification->read_at)
@else
@endif
@endforeach
@else
{{ trans('admin.no_notifications_found') }}
{{ trans('admin.no_notifications_description') }}