@extends('layouts.app', ['title' => $webinar->title]) @section('content')

{{ $webinar->title }} {{ ucfirst($webinar->status) }}

{{ $webinar->mode === 'live' ? 'Live · '.($webinar->starts_at?->timezone($currentAccount->timezone)->format('D, d M Y · h:i A') ?? 'time not set') : 'Recorded · on demand' }} · {{ $webinar->duration_minutes }} min

@if ($webinar->status === 'published') Registration page@endif @can('contacts.manage') Edit@endcan
Registered
{{ $total }}
Attended
{{ $attended }}
Show-up rate
{{ $total ? round($attended / $total * 100) : 0 }}%
Reminders
{{ collect($webinar->reminders ?? [])->map(fn ($m) => $reminderOptions[$m] ?? $m.' min')->implode(', ') ?: 'None' }}
Registrants
@if ($registrants->isEmpty())
No registrations yet. Share the registration page.
@else
@csrf
@foreach ($registrants as $r) @endforeach
AttendedNameEmailPhoneRegistered
attended)> @if ($r->contact){{ $r->name }}@else {{ $r->name }}@endif {{ $r->email }} {{ $r->phone }} {{ $r->created_at->diffForHumans() }}
@can('contacts.manage')
{{ $registrants->links() }}
@endcan
@endif
@can('contacts.manage')
@csrf @method('DELETE')
@endcan @endsection