Alert preferences

@csrf @method('PATCH')

Category controls

@foreach ($eventCategories as $field => $label) @endforeach
Fine tune event types
@foreach ($eventTypes as $event => $category) @endforeach
Save preferences

Inbox

@csrf Mark all read
@foreach ($notifications as $notification)

{{ $notification->data['title'] ?? 'Notification' }}

{{ $notification->data['body'] ?? '' }}

@if (! empty($notification->data['url'])) Open @endif @unless ($notification->read_at)
@csrf
@endunless
@endforeach {{ $notifications->links() }}