nutzwert in tabelle rauemall und orientierung
This commit is contained in:
1 parent
fe03a71735
commit
5583bed563
24 files changed
+726
-526
No files matched your search
+8
@@ -26,6 +26,7 @@ use Filament\Schemas\Components\Tabs\Tab;
|
||||
use Filament\Schemas\Components\Utilities\Set;
|
||||
use Filament\Schemas\Schema;
|
||||
use Filament\Support\Enums\FontWeight;
|
||||
use Filament\Support\Icons\Heroicon;
|
||||
use Filament\Tables\Columns\IconColumn;
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
use Filament\Tables\Table;
|
||||
@@ -219,6 +220,13 @@ class ProjektInhaltsverzeichnisRelationManager extends RelationManager
|
||||
'1' => 'phosphor-file-plus',
|
||||
default => ''
|
||||
}),
|
||||
IconColumn::make('ueberschrift_anzeigen')
|
||||
->label('')
|
||||
->tooltip('Überschrift anzeigen')
|
||||
->icon(fn (string $state): Heroicon => match ($state) {
|
||||
'1' => Heroicon::OutlinedEye,
|
||||
'0' => Heroicon::OutlinedEyeSlash,
|
||||
}),
|
||||
TextColumn::make('name')
|
||||
->wrap()
|
||||
->weight(fn ($record): FontWeight => match ($record->ueberschrift_anzeigen) {
|
||||
|
||||
Reference in new issue
Block a user