@if ($canReserve || $hasReserved || $isGuest)
@if ($isGuest)
{{ __('Attendance') }}
@if ($reservationCount >= timebank_config('reactions.reserve.count_public_threshold', 5))
{{ $reservationCount }} {{ $reservationCount === 1 ? __('reservation') : __('reservations') }}
@endif @elseif ($hasReserved)
{{ __('You have reserved') }}
{{ __('Cancel your reservation') }} @if($isOrganizer && $reservationCount > 0) {{ __('List') }} @endif
@else
{{ __('Attendance') }}
{{ __('Reserve a spot') }} @if($isOrganizer && $reservationCount > 0) {{ __('List') }} @endif
@endif @if ($reservationCount >= timebank_config('reactions.reserve.count_public_threshold', 5))
{{ $reservationCount }} {{ $reservationCount === 1 ? __('reservation') : __('reservations') }}
@endif
@endif {{ __('Confirm reservation') }}

{{ __('Are you sure you want to reserve a spot for this event?') }}

@if($post && $post->translations->first())
@if(isset($post->meeting)) @if($post->meeting->venue) @endif @if($post->meeting->address) @endif @if($post->meeting->from) @endif @endif
{{ __('Event') }} {{ $post->translations->first()->title }}
{{ __('Location') }} {{ $post->meeting->venue }}
{{ __('Address') }} {{ $post->meeting->address }}
{{ __('Date & Time') }} {{ \Illuminate\Support\Carbon::parse($post->meeting->from)->isoFormat('dddd D MMMM YYYY, H:mm') }} {{ __('hour') }}
@endif
{{ __('Cancel') }} {{ __('Confirm reservation') }}
{{ __('Cancel reservation') }}

{{ __('Are you sure you want to cancel your reservation for this event?') }}

@if($post && $post->translations->first())
@if(isset($post->meeting)) @if($post->meeting->venue) @endif @if($post->meeting->address) @endif @if($post->meeting->from) @endif @endif
{{ __('Event') }} {{ $post->translations->first()->title }}
{{ __('Location') }} {{ $post->meeting->venue }}
{{ __('Address') }} {{ $post->meeting->address }}
{{ __('Date & Time') }} {{ \Illuminate\Support\Carbon::parse($post->meeting->from)->isoFormat('dddd D MMMM YYYY, H:mm') }} {{ __('hour') }}
@endif
{{ __('Keep reservation') }} {{ __('Cancel reservation') }}
{{ __('Reservations') }} ({{ $reservationCount }})
@foreach(['App\\Models\\User' => __('Users'), 'App\\Models\\Organization' => __('Organizations'), 'App\\Models\\Bank' => __('Banks'), 'App\\Models\\Admin' => __('Admins')] as $type => $label) @php $reacters = $reservationsByType[$type] ?? []; @endphp @if(count($reacters) > 0)

{{ $label }} ({{ count($reacters) }})

@foreach($reacters as $reacter)
@if($reacter->profile_photo_path) {{ $reacter->name }} @else
{{ substr($reacter->name, 0, 1) }}
@endif
@php $location = method_exists($reacter, 'getLocationFirst') ? $reacter->getLocationFirst() : null; @endphp @if($location && isset($location['name_short']))
{{ $location['name_short'] }}
@endif
@endforeach
@endif @endforeach @if($reservationCount > 0)

{{ __('Send an update to all participants') }}

{{ strlen($messageToReserved ?? '') }}/300 {{ __('characters') }} {{ __('Send Message') }}
@endif
{{ __('Close') }}