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:
20
resources/views/legal/datenschutz.blade.php
Executable file
20
resources/views/legal/datenschutz.blade.php
Executable file
@@ -0,0 +1,20 @@
|
||||
<x-layouts.guest :title="__('ui.privacy')">
|
||||
<h2 class="text-xl font-bold mb-4">{{ __('ui.privacy') }}</h2>
|
||||
|
||||
<div class="prose prose-sm text-gray-700 space-y-4 text-sm">
|
||||
@php
|
||||
$locale = app()->getLocale();
|
||||
$content = \App\Models\Setting::get('datenschutz_html_' . $locale)
|
||||
?: \App\Models\Setting::get('datenschutz_html_de')
|
||||
?: \App\Models\Setting::get('datenschutz_html', '<p>[Datenschutzerklärung noch nicht hinterlegt]</p>');
|
||||
@endphp
|
||||
{!! app(\App\Services\HtmlSanitizerService::class)->sanitize($content) !!}
|
||||
</div>
|
||||
|
||||
<div class="mt-6 flex justify-end">
|
||||
<a href="{{ auth()->check() ? route('dashboard') : route('login') }}"
|
||||
class="inline-flex items-center gap-1 bg-gray-200 text-gray-700 px-4 py-2 rounded-md text-sm hover:bg-gray-300">
|
||||
← {{ __('ui.back') }}
|
||||
</a>
|
||||
</div>
|
||||
</x-layouts.guest>
|
||||
Reference in New Issue
Block a user