diff --git a/content/contents/default.blade.php b/content/contents/default.blade.php new file mode 100644 index 0000000..00d2680 --- /dev/null +++ b/content/contents/default.blade.php @@ -0,0 +1,178 @@ +@extends('template.'.config('settings.template').'.content.master') +@section('content') + + +
+ + + + + + + + +
+ + + + +
+ +

{{$nach->title}}

+ +
+ + +
+
+
+ Veröffentlicht: {{date('d.m.Y', strtotime($nach->created_at))}} + +
+ + +
+
+ + +
+ + + @if ($nach->image) +
+ +
+ @endif + +
+ + + + + + + +
+
+ {!! isset($nach->additional_fields['1']) ? $nach->additional_fields['1'] : 'keine Angaben' !!} + +
+
+
+
+ + @if(App::environment('production')) + +
+ + + @if (\App\Models\Nachrichten::whereJsonContains('additional_fields->14', $nach->additional_fields['14'])->where('approved', 1)->where('id', '!=', $nach->id)->limit(4)->get()->sortByDesc('created_at')->count() > 0) + +
+
+
+

Ă„hnliche Jobangebote

+
+
+ + @foreach (\App\Models\Nachrichten::whereJsonContains('additional_fields->14', $nach->additional_fields['14'])->where('approved', 1)->where('id', '!=', $nach->id)->limit(3)->get()->sortByDesc('created_at') as $nachLimit) +
+ +
+
+
+
+ + + +
+ + + + +
+
+
{{date('d.m.Y', strtotime($nachLimit->created_at))}}
+ +
+ +
+ +
+
+
+ @endforeach + @endif + +
+
+
+
+
+ @endif +
+
+ +@stop + +@section('scripts') + + + + + + +@stop +