NationForge
@if($event->cover_image) {{ $event->title }} @else
@endif
{{ __('events.type.' . $event->type) }}

{{ $event->title }}

{{ $event->starts_at->format('Y. F j., l') }} · {{ $event->starts_at->format('H:i') }} @if($event->ends_at) – {{ $event->ends_at->format('H:i') }} @endif
@if($event->is_online)
{{ __('events.is_online') }} @if($event->online_url) · {{ __('events.join_link') }}@endif
@elseif($event->venue_name || $event->city)
@if($event->venue_name){{ $event->venue_name }}@endif @if($event->address) · {{ $event->address }}@endif @if($event->city) · {{ $event->city }}@endif
@endif @if($event->ticket_price > 0)
{{ __('events.admission_fee') }} {{ number_format($event->ticket_price, 0, ',', ' ') }} Ft
@else
{{ __('events.free_event') }}
@endif @if($event->capacity)
{{ $registrationCount }} / {{ $event->capacity }} {{ __('events.registered_unit') }}
@php $pct = min(100, round($registrationCount / $event->capacity * 100)); $barClass = $pct >= 100 ? 'full' : ($pct >= 75 ? 'warn' : ''); @endphp
{{ __('events.occupancy') }} {{ $pct }}%
@endif
@if($event->description)
{{ $event->description }}
@endif
@if(session('payment_error'))
⚠ {{ session('payment_error') }}
@endif @if(session('payment_cancelled'))
{{ session('payment_cancelled') }}
@endif @if(session('payment_init_error'))
⚠ {{ session('payment_init_error') }}
@endif @if($isFull && !$event->waitlist_enabled)

{{ __('events.registration') }}

{{ __('events.full_notice') }}
@elseif($isFull && $event->waitlist_enabled)

{{ __('events.waitlist_form_title') }}

{{ __('events.waitlist_form_sub', ['count' => $waitlistCount]) }}

@if($errors->any())
@foreach($errors->all() as $e)
{{ $e }}
@endforeach
@endif
@csrf

{{ __('events.privacy_note') }}

@else @php $isPaidEvent = $event->ticket_price > 0 && \App\Models\Setting::get('payment_provider'); $totalPrice = $isPaidEvent ? $event->ticket_price : 0; @endphp

{{ $isPaidEvent ? __('events.payment_required') : __('events.reg_title') }}

{{ $isPaidEvent ? __('events.payment_required_sub') : __('events.reg_subtitle') }}

@if($isPaidEvent)
{{ __('events.pay_total') }} {{ number_format($event->ticket_price, 0, ',', ' ') }} Ft
@endif @if($errors->any())
@foreach($errors->all() as $e)
{{ $e }}
@endforeach
@endif
@csrf

{{ __('events.privacy_note') }}

@endif