help wip
This commit is contained in:
1 parent
3791379c41
commit
ec5a56a9b1
27 files changed
+514
-143
No files matched your search
@@ -13,7 +13,7 @@ class Deckblatt
|
||||
// GUTACHTER
|
||||
$html = '<div id="deckblatt-gutachter">';
|
||||
if (Pdf::$gutachter->logo && Pdf::$gutachter->logo_anzeigen) {
|
||||
$html .= '<div id="deckblatt-logo-gutachter" style="background-position: center '.Pdf::$gutachter->logo_align.'; background-image: url(\''.public_path().'/storage/'.Pdf::$gutachter->logo.'\');"></div>';
|
||||
$html .= '<div id="deckblatt-logo-gutachter" style="width:190mm; height: '.Pdf::$gutachter->logo_height.'mm; background-position: center '.Pdf::$gutachter->logo_align.'; background-image: url(\''.public_path().'/storage/'.Pdf::$gutachter->logo.'\');"></div>';
|
||||
}
|
||||
if (Pdf::$gutachter->referenz_formatting && Pdf::$gutachter->text_anzeigen) {
|
||||
$str = RichContentRenderer::make(Pdf::$gutachter->referenz_formatting)->toHtml();
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
namespace App\Actions\Helper;
|
||||
|
||||
use App\Models\Help;
|
||||
use Filament\Actions\Action;
|
||||
|
||||
class ShowHelp
|
||||
{
|
||||
public static $helping;
|
||||
|
||||
public static function show($kennung)
|
||||
{
|
||||
$helping = Help::where('kennung', $kennung)->first();
|
||||
|
||||
return Action::make('help')
|
||||
->icon('phosphor-question')
|
||||
->tooltip(view('pages.help')->with('helping', $helping))
|
||||
->iconButton();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user