@extends('layouts.app') @section('title', 'Send Notification') @section('page', 'marketing') @section('content') @if (session('success')) {{ session('success') }} @endif @if ($errors->any()) {{ $errors->first() }} @endif @if (($canManage ?? false) && ! ($pushReady ?? false)) Web Push is not configured yet. Notifications cannot be sent until VAPID keys are available. @endif @if ($canManage ?? false) @endif @forelse ($blasts as $row) {{ $row->title }} {{ \Illuminate\Support\Str::limit($row->body, 60) }} {{ $row->audienceLabel() }} {{ $row->recipients_count }} {{ $row->sent_count }} {{ $row->status }} {{ $row->sent_at?->format('Y-m-d H:i') ?? '—' }}
@if ($canManage ?? false) @endif
@empty No notifications sent yet. @if ($canManage ?? false) Use Send Notification to push your first message. @endif @endforelse
@if ($canManage ?? false) @endif @endsection @push('styles') @endpush @push('scripts') @if ($errors->any() && old('title') !== null) @endif @endpush