From d87fb39a71e5ec7e88b16becf22711ef08a43b13 Mon Sep 17 00:00:00 2001 From: Gustavo Luigi <=> Date: Fri, 20 Oct 2023 20:06:47 -0300 Subject: [PATCH] . --- content/contents/produkt.blade.php | 63 +++--- content/includes/scripts.blade.php | 8 +- content/master.blade.php | 314 ++++++++++++++++------------- 3 files changed, 206 insertions(+), 179 deletions(-) diff --git a/content/contents/produkt.blade.php b/content/contents/produkt.blade.php index d5e2a2f..94bd667 100644 --- a/content/contents/produkt.blade.php +++ b/content/contents/produkt.blade.php @@ -40,27 +40,27 @@
- @if($content->verfugbarkeit = 'sofort verfuegbar') - - - Sofort in {{$_legal_city}} verfügbar! - - @elseif($content->verfugbarkeit = 'In kürze Verfügbar') - - - In Kürze wieder verfügbar - - @elseif($content->verfugbarkeit == 'auf bestellung verfuegbar') - + @if($content->verfugbarkeit == 'sofort verfuegbar') + + + Sofort in {{$_legal_city}} verfügbar! + + @elseif($content->verfugbarkeit == 'In kürze Verfügbar') + + + In Kürze wieder verfügbar + + @elseif($content->verfugbarkeit == 'auf bestellung verfuegbar') + Produkt ist auf Bestellung verfügbar. - @elseif($content->verfugbarkeit == 'nicht mehr verfuegbar') + @elseif($content->verfugbarkeit == 'nicht mehr verfuegbar') Produkt ist leider nicht mehr verfügbar. - @endif + @endif

{!! $content->kurzbeschreibung !!} @@ -135,7 +135,7 @@ In den Einkaufswagen - @@ -148,7 +148,6 @@
@endif - @@ -165,25 +164,25 @@ - @isset($content->produktbilder) -
-
-

Weitere Produktbilder

-
- @foreach($content->produktbilder as $produktbild) -
- -
- @endforeach - + @isset($content->produktbilder) +
+
+

Weitere Produktbilder

- @endisset + @foreach($content->produktbilder as $produktbild) +
+ +
+ @endforeach + +
+ @endisset - @php($otherContents = filterByContentType("Produkte")->filter(function ($item) use ($content) { return $item->id != $content->id; })) + @php($otherContents = filterByContentType("Produkte")->filter(function ($item) use ($content) { return $item->id != $content->id; })) - @if($otherContents->isNotEmpty()) + @if($otherContents->isNotEmpty())

@@ -209,10 +208,10 @@ @endforeach
- @endif + @endif
@stop @section('scripts') - + @stop diff --git a/content/includes/scripts.blade.php b/content/includes/scripts.blade.php index d7ef249..ee6303f 100644 --- a/content/includes/scripts.blade.php +++ b/content/includes/scripts.blade.php @@ -1,2 +1,6 @@ - - \ No newline at end of file + + + + + + \ No newline at end of file diff --git a/content/master.blade.php b/content/master.blade.php index 5e9dda3..2ab14c5 100644 --- a/content/master.blade.php +++ b/content/master.blade.php @@ -15,163 +15,187 @@ + + + + @yield('head') -@if($_contact_bar) - -
-
-
-
- {{$_legal_zip_code}} {{$_legal_city}} -
- -
-
- -
-@else -
- -
- - @endif - - -@yield('content') - -@include('template.'.config('settings.template').'.content.includes.cookie-banner') - - -@if($_warenkorb_aktiv) - -