diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 2cf561a..0e50336 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -1,7 +1,11 @@ - + + + + + diff --git a/content/contents/solarmodule.blade.php b/content/contents/solarmodule.blade.php index 3562a37..e67b343 100644 --- a/content/contents/solarmodule.blade.php +++ b/content/contents/solarmodule.blade.php @@ -43,53 +43,124 @@ - @isset($content->data_fields['preis_5']) +
+ @isset($content->data_fields['preis_5']) +
-

- -

-
-
- - - - - - - - +

+ +

+ + @endisset - @isset($content->data_fields['preis_5']) +
+ + +

+ +

+ + + + + +
+ +
+
+
+
AbnahmePreis pro Einheit
+ - - + + - @endisset + + - @isset($content->data_fields['preis_10']) - - - - - @endisset + @isset($content->data_fields['preis_5']) + + + + + @endisset - @isset($content->data_fields['preis_palette']) - - - - - @endisset + @isset($content->data_fields['preis_10']) + + + + + @endisset + + @isset($content->data_fields['preis_palette']) + + + + + @endisset - -
ab 5 Stück{{$content->data_fields['preis_5']}} €AbnahmePreis pro Einheit
ab 5 Stück{{$content->data_fields['preis_10']}} €
ab 5 Stück{{$content->data_fields['preis_5']}} €
Palette ({{$content->data_fields['module_pro_palette']}} Stück){{$content->data_fields['preis_palette']}} €
ab 10 Stück{{$content->data_fields['preis_10']}} €
Palette ({{$content->data_fields['module_pro_palette']}} Stück){{$content->data_fields['preis_palette']}} €
+ + +
- @endisset +
+ diff --git a/content/index.blade.php b/content/index.blade.php index 0bae29e..03847f0 100644 --- a/content/index.blade.php +++ b/content/index.blade.php @@ -41,7 +41,7 @@ - @foreach($contents as $content) + @foreach(filterByContentType($contents, "Balkonkraftwerk") as $content)