help wip
This commit is contained in:
1 parent
faded38980
commit
48b372c164
24 files changed
+357
-244
No files matched your search
@@ -7,12 +7,14 @@ use Filament\Actions\Action;
|
||||
|
||||
class ShowHelp
|
||||
{
|
||||
public static $helping;
|
||||
|
||||
public static function show($kennung)
|
||||
{
|
||||
$helping = Help::where('kennung', $kennung)->first();
|
||||
|
||||
if (! $helping) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return Action::make('help')
|
||||
->icon('phosphor-question')
|
||||
->tooltip(view('pages.help')->with('helping', $helping))
|
||||
|
||||
Reference in new issue
Block a user