wip help
This commit is contained in:
1 parent
1fbd9da376
commit
3791379c41
16 files changed
+108
-86
No files matched your search
@@ -13,7 +13,7 @@ class Inhalt
|
||||
$html = '<table class="inhalt">';
|
||||
$inhalte = ProjektInhaltsverzeichnis::where('projekte_id', $projekte_id)->orderBy('sort')->get();
|
||||
foreach ($inhalte as $inhalt) {
|
||||
if ($inhalt->name != 'INHALTSVERZEICHNIS' && $inhalt->ueberschrift_anzeigen) {
|
||||
if ($inhalt->name != 'INHALTSVERZEICHNIS' && $inhalt->ueberschrift_verbergen) {
|
||||
$html .= '<tr>';
|
||||
$html .= Html::td(Format::index($inhalt->ordnungszahl), 'center');
|
||||
$html .= Html::td($inhalt->name);
|
||||
|
||||
@@ -8,7 +8,7 @@ class Ueberschrift
|
||||
{
|
||||
public static function load($inhalt)
|
||||
{
|
||||
if ($inhalt->ueberschrift_anzeigen && $inhalt->inhaltselement_id != 9) {
|
||||
if ($inhalt->ueberschrift_verbergen && $inhalt->inhaltselement_id != 9) {
|
||||
if ($inhalt->ordnungszahl * 1 > 0) {
|
||||
return '<div class="header">'.Format::index($inhalt->ordnungszahl).' '.$inhalt->name.'</div>';
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user