@extends('layouts.shell') @section('title', 'Inbox') @section('subtitle', 'In-app notifications') @section('actions')
@endsection @section('content')| Title | Message | When | |
|---|---|---|---|
| {{ $notification->title }} | {{ $notification->body }} @if ($notification->type === \App\Enums\NotificationType::BroadcasterRegistered && auth()->user()?->isAdmin()) @endif @if ($notification->type === \App\Enums\NotificationType::CreditRequestSubmitted && auth()->user()?->isAdmin()) @endif | {{ $notification->created_at?->toDayDateTimeString() }} | @if ($notification->read_at === null) @else Read @endif |
| No notifications yet. | |||