{{ __('admin.dashboard_title') }}

{{-- Update-Hinweis --}} @if ($hasUpdate ?? false)

{{ __('admin.update_available', ['version' => $updateVersion]) }}

{{ __('admin.update_details') }}
@endif {{-- Statistik-Karten --}}

{{ __('admin.stat_users') }}

{{ $stats['users'] }}

{{ __('admin.stat_players') }}

{{ $stats['players'] }}

{{ __('admin.stat_upcoming') }}

{{ $stats['upcoming_events'] }}

{{ __('admin.stat_invitations') }}

{{ $stats['open_invitations'] }}

{{-- DSGVO — Bestätigung ausstehend --}} @if ($pendingDsgvoUsers->isNotEmpty())

{{ __('admin.dsgvo_pending_title') }}

{{ __('admin.dsgvo_pending_count', ['count' => $pendingDsgvoUsers->count()]) }}
@foreach ($pendingDsgvoUsers as $dsgvoUser)
{{ $dsgvoUser->name }} {{ $dsgvoUser->email }}
{{-- Modal für Dokument-Ansicht + Bestätigung/Ablehnung --}} @endforeach
@endif {{-- Quick-Links --}}

{{ __('admin.quick_links') }}

{{-- Events mit offenen Rückmeldungen --}} @if ($eventsWithOpenResponses->isNotEmpty())

{{ __('admin.open_responses_title') }}

@foreach ($eventsWithOpenResponses as $event)
{{ $event->title }}

{{ $event->team->name }} — {{ $event->start_at->translatedFormat(__('ui.date_format')) }}

{{ __('admin.x_open', ['count' => $event->open_count]) }}
@endforeach
@endif {{-- DSGVO-Ereignisse --}} @if ($dsgvoEvents->isNotEmpty())

{{ __('admin.dsgvo_events_title') }}

@foreach ($dsgvoEvents as $logEntry) @php $dsgvoColors = [ 'dsgvo_consent_uploaded' => 'bg-blue-100 text-blue-800', 'dsgvo_consent_confirmed' => 'bg-green-100 text-green-800', 'dsgvo_consent_revoked' => 'bg-yellow-100 text-yellow-800', 'dsgvo_consent_removed' => 'bg-orange-100 text-orange-800', 'dsgvo_consent_rejected' => 'bg-red-100 text-red-800', 'account_self_deleted' => 'bg-red-100 text-red-800', 'child_auto_deactivated' => 'bg-red-100 text-red-800', ]; @endphp @endforeach
{{ __('admin.log_time') }} {{ __('admin.log_user') }} {{ __('admin.log_action') }} {{ __('admin.log_description') }}
{{ $logEntry->created_at->translatedFormat(__('ui.date_format_short')) }} {{ $logEntry->user?->name ?? __('admin.log_system') }} {{ __('admin.dsgvo_action_' . $logEntry->action) }} {{ $logEntry->description }}
@endif