This commit is contained in:
salam committed 2025-10-21 07:24:54 +02:00
1 parent 551ad2369e
commit 9881d8c37b
23 files changed
+662 -236

No files matched your search

@@ -26,8 +26,8 @@ class InhaltsverzeichnisForm
->required()
->label('Kapitel / Absatz')
->columnSpan(2),
Checkbox::make('ueberschrift_nicht_anzeigen')
->label('Überschrift nicht angezeigen')
Checkbox::make('ueberschrift_anzeigen')
->label('Überschrift angezeigen')
->columnSpan(2),
TextInput::make('ordnungszahl')
->label('Kapitel Index')
@@ -30,7 +30,7 @@ class InhaltsverzeichnisTable
TextColumn::make('name')
->label('Überschrift')
->wrap()
->weight(fn ($record): FontWeight => match ($record->ueberschrift_nicht_anzeigen) {
->weight(fn ($record): FontWeight => match ($record->ueberschrift_anzeigen) {
1 => FontWeight::Thin,
default => FontWeight::SemiBold,
}),