Beschrifte den Dialog „Neue Fassung anlegen“ und gleiche Filament-Hauptknöpfe an.
CI Feature / test (push) Successful in 59s
Deploy Test / test (push) Successful in 58s
Deploy Test / deploy (push) Successful in 26s

Der Fassungsdialog hatte „Absenden“ ohne Erklärung. Er nennt jetzt Zweck und
Folgen und bestätigt mit „Fassung anlegen“. Hauptaktionen in Filament-Dialogen
(anlegen, freigeben, deaktivieren) erscheinen im Grün der Verwaltung mit
weißer Schrift statt in Filaments hellem Grün.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
LarsandClaude Opus 5.5 committed 2026-11-20 07:06:20 +01:00
1 parent d1b10ef11d
commit d33ce86ae3
2 files changed
+6

No files matched your search

@@ -435,6 +435,9 @@ public function reviseAction(): Action
{
return Action::make('revise')
->label('Neue Fassung anlegen')
->modalHeading('Neue Fassung anlegen')
->modalDescription('Für eine neue Datei oder einen geänderten Lehrtext. Die bisherigen Fassungen bleiben unverändert. Redaktion, Vorschaubild und Website-Angaben gehören nicht zur Fassung.')
->modalSubmitActionLabel('Fassung anlegen')
->visible(fn (): bool => ContentElementResource::editor())
->schema(fn (): array => ElementRevision::fields($this->getRecord()))
->action(function (array $data): void {