From fdddd8b786a305135832b4b9dbe3775d66c4c714 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20V=C3=B6lkl?= Date: Tue, 9 Feb 2021 12:31:26 -0300 Subject: [PATCH] . --- content/index.blade.php | 27 +++---------------- content/list.blade.php | 59 ++++++++++++++++++++++------------------- 2 files changed, 34 insertions(+), 52 deletions(-) diff --git a/content/index.blade.php b/content/index.blade.php index 4cd93d3..7de0e86 100644 --- a/content/index.blade.php +++ b/content/index.blade.php @@ -106,24 +106,12 @@
{{$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 +
- + @@ -132,15 +120,6 @@ {!! $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 diff --git a/content/list.blade.php b/content/list.blade.php index d045eac..08d75aa 100644 --- a/content/list.blade.php +++ b/content/list.blade.php @@ -28,56 +28,59 @@ @foreach($nachrichten as $nach) +
-
-
+ +
+ + @if ($nach->image) + + @endif +
-
- +
{{$nach->title}}
-
-
-
{{date('d.m.Y', strtotime($nach->created_at))}}
+
-
- -
+ + + + + +

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

-
-
+ + + + + + + +
+ +
+ @endforeach - {!! $nachrichten->render() !!} -