This commit is contained in:
salam committed 2025-11-07 10:52:36 +01:00
1 parent faded38980
commit 48b372c164
24 files changed
+357 -244

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
<?php
namespace App\Actions\Helper;
use Filament\Actions\Action;
use Illuminate\View\View;
class ShowHelpInhalt
{
public static function show()
{
return Action::make('help')
->icon('phosphor-question')
->hidden(fn ($record): bool => (! $record->inhaltsverzeichnis->hilfe_titel && ! $record->inhaltsverzeichnis->hilfe_description || ! $record->inhaltsverzeichnis->hilfe_image) ? true : false)
->tooltip(fn ($record): View => view('pages.helpinhalt')->with('record', $record))
->iconButton();
}
}