From 5241dc5b584ef7035edb377a17eff51094f0dc2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20V=C3=B6lkl?= Date: Thu, 12 Oct 2023 11:28:10 +0200 Subject: [PATCH] . --- content/contents/produkt.blade.php | 37 +++++----- content/contents/veranstaltung.blade.php | 91 +----------------------- content/lists/events.blade.php | 1 - content_types.json | 37 ++++++++++ 4 files changed, 59 insertions(+), 107 deletions(-) diff --git a/content/contents/produkt.blade.php b/content/contents/produkt.blade.php index 0528c59..d5e2a2f 100644 --- a/content/contents/produkt.blade.php +++ b/content/contents/produkt.blade.php @@ -128,24 +128,27 @@ -
-
- - + @if($_warenkorb_aktiv) +
+
+ + +
+
+ +
-
- -
-
+ @endif +
diff --git a/content/contents/veranstaltung.blade.php b/content/contents/veranstaltung.blade.php index d6f2f3b..b1b0d36 100644 --- a/content/contents/veranstaltung.blade.php +++ b/content/contents/veranstaltung.blade.php @@ -12,7 +12,7 @@ @@ -39,103 +39,16 @@
- {!! isset($content->neuigkeit) ? $content->neuigkeit : 'keine Angaben' !!} + Lorem ipsum dolor sit amet, consectetur adipisicing elit. Aliquid debitis et, ex exercitationem facilis incidunt molestias nulla officiis perferendis quas tempora, vitae voluptatem, voluptates? Atque dolores eius pariatur porro quisquam.
-
-
-
-

Jetzt bewerben

-
-
-
-
- - -
- -
- - -
- -
- - -
- - -
- - -
- - -
- - -
- - -
-
-
-
- @php($otherContents = filterByContentType("Jobs")->filter(function ($item) use ($content) { return $item->id != $content->id; })) - - @if($otherContents->isNotEmpty()) - -
- - -
-
-

Weitere Stellenangebote

-
- - @foreach($otherContents->take(3) as $otherContent) - - - - @endforeach - -
- - @endif - diff --git a/content/lists/events.blade.php b/content/lists/events.blade.php index 46cd9b6..017c6c1 100644 --- a/content/lists/events.blade.php +++ b/content/lists/events.blade.php @@ -39,7 +39,6 @@ - {!! Str::limit($content->vorschau, 280) !!} diff --git a/content_types.json b/content_types.json index 0da5943..d347517 100644 --- a/content_types.json +++ b/content_types.json @@ -175,6 +175,43 @@ } ] }, + { + "slug": "event", + "name": "Event", + "description": "", + "icon": "/font-awesome/duotone/calendar-days.svg", + "status": 1, + "blade": "veranstaltung", + "fields": [ + { + "name": "Kurzbeschreibung", + "type": "text", + "description": "Dies ist eine Kurzbeschreibung für das Produkt", + "attr": { + "pattern": "", + "maxlength": "", + "minlength": "" + }, + "position": 1, + "required": 0, + "default_value": "" + }, + { + + "name": "Beschreibung", + "type": "rich-text", + "description": "Dies ist eine ausführliche Beschreibung für das Produkt", + "attr": { + "pattern": "", + "maxlength": "", + "minlength": "" + }, + "position": 1, + "required": 0, + "default_value": "" + } + ] + }, { "slug": "job", "name": "Jobs",