From fa596ea8358646925acc04a91a276642c2e6e35f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20V=C3=B6lkl?= Date: Tue, 29 Sep 2020 12:13:34 +0200 Subject: [PATCH] added aktuelles to home --- content/index.blade.php | 102 +++++++++++++++++++++++++++++++++++++++- 1 file changed, 101 insertions(+), 1 deletion(-) diff --git a/content/index.blade.php b/content/index.blade.php index c760d73..c48cfbc 100644 --- a/content/index.blade.php +++ b/content/index.blade.php @@ -71,7 +71,107 @@ -
+ +
+ + + + + +
+ +
+
+

Aktuelles

+
+ +
+ + @foreach($nachrichten as $nach) +
+ + + + + +
+ + @if ($nach->image) + + @endif + +
+ + +
{{$nach->title}}
+ +
+ @if ($nach->user and $nach->user->public_author == 1) + + + {{ $nach->user->name }} - {{date('d.m.Y H:i', strtotime($nach->created_at))}} + @else + {{date('d.m.Y H:i', strtotime($nach->created_at))}} + @endif +
+ + + + + + +

+ {!! $nach->nachrichten !!} +

+ + @if ($nach->type_id == 2) +

+

{{ __('public.work-location') }}

{{ isset($nach->additional_fields['workplace']) ? $nach->additional_fields['workplace'] : '-'}} +

+ +

+

{{ __('public.contact-data') }}

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

+ @endif + + + +
+ + + + + + + + + +
+ +
+ + @endforeach + + + +
+ + + + +
+
+ + +