From 5564bd63ca37ec01f78fe55651ecdf3df48afafb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20V=C3=B6lkl?= Date: Mon, 20 Sep 2021 11:33:11 +0200 Subject: [PATCH] added news list blade --- content/lists/aktuelles.blade.php | 88 +++++++++++++++++++++++++++++++ 1 file changed, 88 insertions(+) create mode 100644 content/lists/aktuelles.blade.php diff --git a/content/lists/aktuelles.blade.php b/content/lists/aktuelles.blade.php new file mode 100644 index 0000000..536b3df --- /dev/null +++ b/content/lists/aktuelles.blade.php @@ -0,0 +1,88 @@ +@extends('template.'.config('settings.template').'.content.master') +@section('content') + + + + +
+
+ +
+
+

{{ $listModel->name }}

+ + @if (isset($listModel)) + {{ $listModel->description }} + @endif +
+
+
+
+
+ + + @foreach($nachrichten as $nach) + +
+
+ @if ($nach->image) + + @endif +
+

+ {{$nach->title}} +

+ + {{date('d.m.Y H:i', strtotime($nach->created_at))}} + +

+ {!! isset($nach->additional_fields['4']) ? $nach->additional_fields['4'] : 'keine Angaben' !!} +

+ +
+ +
+
+ + + + @endforeach + + + +
+
+
+
+
+
+
+
+
+ + +
+
+ + + + + +@stop