From 49463bf34d3544fc11486cbdcd80a094dc944cf3 Mon Sep 17 00:00:00 2001 From: boban Date: Mon, 27 Apr 2026 03:41:34 +0200 Subject: [PATCH] Fix: Tab-URL-Keys auf Englisch (general, domains, backup, notifications) --- app/Livewire/Ui/System/SettingsForm.php | 4 ++-- .../views/livewire/ui/system/settings-form.blade.php | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/app/Livewire/Ui/System/SettingsForm.php b/app/Livewire/Ui/System/SettingsForm.php index bc937eb..fb6ec1a 100644 --- a/app/Livewire/Ui/System/SettingsForm.php +++ b/app/Livewire/Ui/System/SettingsForm.php @@ -15,9 +15,9 @@ use Livewire\Component; class SettingsForm extends Component { #[Url] - public string $tab = 'allgemein'; + public string $tab = 'general'; - private const VALID_TABS = ['allgemein', 'domains', 'sicherung', 'meldungen']; + private const VALID_TABS = ['general', 'domains', 'backup', 'notifications']; // Allgemein public string $instance_name = ''; diff --git a/resources/views/livewire/ui/system/settings-form.blade.php b/resources/views/livewire/ui/system/settings-form.blade.php index 8382940..4ef28bc 100644 --- a/resources/views/livewire/ui/system/settings-form.blade.php +++ b/resources/views/livewire/ui/system/settings-form.blade.php @@ -32,10 +32,10 @@
@php $tabs = [ - 'allgemein' => ['label' => 'Allgemein', 'icon' => ''], + 'general' => ['label' => 'Allgemein', 'icon' => ''], 'domains' => ['label' => 'Domains & SSL','icon' => ''], - 'sicherung' => ['label' => 'Sicherung', 'icon' => ''], - 'meldungen' => ['label' => 'Meldungen', 'icon' => ''], + 'backup' => ['label' => 'Sicherung', 'icon' => ''], + 'notifications' => ['label' => 'Meldungen', 'icon' => ''], ]; @endphp @foreach($tabs as $key => $cfg) @@ -48,7 +48,7 @@
{{-- ═══ Tab: Allgemein ═══ --}} - @if($tab === 'allgemein') + @if($tab === 'general')
@@ -228,7 +228,7 @@ @endif {{-- ═══ Tab: Sicherung ═══ --}} - @if($tab === 'sicherung') + @if($tab === 'backup')
@@ -402,7 +402,7 @@ @endif {{-- ═══ Tab: Meldungen ═══ --}} - @if($tab === 'meldungen') + @if($tab === 'notifications')