Operating mode in the admin (test mode sends all mail to a test recipient until switched live), bot protection for booking requests, mail rendering tests, mail:test command
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
fdcb68d578
commit
d018c97be4
22 files changed
+698
-23
No files matched your search
@@ -0,0 +1,9 @@
|
||||
@php($redirect = \App\Support\Settings::mailRedirect())
|
||||
@if ($redirect)
|
||||
<div class="fi-test-mode-banner" role="status" style="background:#fde68a;color:#422006;padding:.5rem 1rem;text-align:center;font-size:.875rem">
|
||||
<strong>Testbetrieb:</strong> Alle E-Mails gehen nur an {{ $redirect }}.
|
||||
@if (auth()->user()?->hasRole(\App\Enums\UserRole::Admin))
|
||||
<a href="{{ \App\Filament\Pages\Operations::getUrl() }}" style="text-decoration:underline">Betrieb einstellen</a>
|
||||
@endif
|
||||
</div>
|
||||
@endif
|
||||
Reference in new issue
Block a user