@forelse($notifications as $notification) @empty @endforelse
Title App Style Status Time Actions
{{ Str::limit($notification->title, 40) }}
{{ Str::limit($notification->body, 50) }}
{{ $notification->app->name ?? 'N/A' }} @if($notification->notification_style === 'image') Image @else Text @endif {{ ucfirst($notification->status) }} @if($notification->status === 'scheduled' && $notification->scheduled_at) {{ $notification->scheduled_at->diffForHumans() }} @elseif($notification->sent_at) {{ $notification->sent_at->diffForHumans() }} @else {{ $notification->created_at->diffForHumans() }} @endif @if(in_array($notification->status, ['scheduled', 'pending'])) @elseif($notification->status === 'failed') @else - @endif
@if($userApps->count() === 0) No apps with push notifications enabled. @else No notifications found. @endif