Stand: SMTP-Test, Admin-Mail-Tab, Notifiable-Fix, Lazy-Quill
- Fix: Notifiable-Trait zum User-Model hinzugefuegt (behebt notify()-500er) - Installer: SMTP-Verbindungstest mit EsmtpTransport + Ueberspringen-Link - Admin: Neuer E-Mail-Tab mit SMTP-Konfiguration + Verbindungstest - Admin: Lazy Quill-Initialisierung (nur sichtbare Locale wird geladen) - Uebersetzungen: 17 neue Mail-Keys in allen 6 Sprachen Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
13
resources/views/components/traffic-light.blade.php
Executable file
13
resources/views/components/traffic-light.blade.php
Executable file
@@ -0,0 +1,13 @@
|
||||
@props(['event'])
|
||||
|
||||
@php
|
||||
$yes = $event->participants->where('status', \App\Enums\ParticipantStatus::Yes)->count();
|
||||
$no = $event->participants->where('status', \App\Enums\ParticipantStatus::No)->count();
|
||||
$open = $event->participants->where('status', \App\Enums\ParticipantStatus::Unknown)->count();
|
||||
@endphp
|
||||
|
||||
<span class="inline-flex items-center gap-1 text-xs font-semibold tabular-nums" title="{{ __('events.confirmations') }}: {{ $yes }} / {{ __('events.rejections') }}: {{ $no }} / {{ __('events.open_responses') }}: {{ $open }}">
|
||||
<span class="text-green-600">{{ $yes }}</span>
|
||||
<span class="text-red-500">{{ $no }}</span>
|
||||
<span class="text-gray-400">{{ $open }}</span>
|
||||
</span>
|
||||
Reference in New Issue
Block a user