From 356e3cb13df344311559664a682d054d043a81b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20V=C3=B6lkl?= Date: Mon, 27 Dec 2021 13:46:46 +0100 Subject: [PATCH] . --- README.md | 2 +- content/contents/default.blade.php | 2 +- content/contents/news.blade.php | 63 +++++++++++++++++++++++++ content/contents/produkte.blade.php | 69 +++++++++++++++++++++++++++ content/index.blade.php | 4 +- content/lists/default.blade.php | 73 ----------------------------- content/lists/neuigkeiten.blade.php | 62 ++++++++++++++++++++++++ content/lists/produkte.blade.php | 3 +- 8 files changed, 200 insertions(+), 78 deletions(-) create mode 100644 content/contents/news.blade.php create mode 100644 content/contents/produkte.blade.php delete mode 100644 content/lists/default.blade.php create mode 100644 content/lists/neuigkeiten.blade.php diff --git a/README.md b/README.md index 4603cb9..fe909c1 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Jobs Oberpfalz - _Areya CMS - Theme_ +# Alpakas Konradenhof - _Areya CMS - Theme_ diff --git a/content/contents/default.blade.php b/content/contents/default.blade.php index 45f10ab..42d51cf 100644 --- a/content/contents/default.blade.php +++ b/content/contents/default.blade.php @@ -41,7 +41,7 @@

- {!! isset($content->data_fields['beschreibung'])?$content->data_fields['beschreibung']:'keine Angaben' !!} + {!! isset($content->data_fields['neuigkeit'])?$content->data_fields['neuigkeit']:'keine Angaben' !!}


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

{{$content->title}}

+
+
+
+
+ Veröffentlicht: {{date('d.m.Y', strtotime($content->created_at))}} +
+
+
+
+ @if ($content->image) +
+ +
+ @endif +
+ +
+
+ {!! isset($content->data_fields['neuigkeit'])?$content->data_fields['neuigkeit']:'keine Angaben' !!} +
+
+
+
+
+
+@stop + +@section('scripts') + + + + + + +@stop + diff --git a/content/contents/produkte.blade.php b/content/contents/produkte.blade.php new file mode 100644 index 0000000..44fd538 --- /dev/null +++ b/content/contents/produkte.blade.php @@ -0,0 +1,69 @@ +@extends('template.'.config('settings.template').'.content.master') +@section('content') + + + +
+ +
+
+

{{$content->title}}

+
+
+
+
+ Veröffentlicht: {{date('d.m.Y', strtotime($content->created_at))}} +
+
+
+
+ @if ($content->image) +
+ +
+ @endif +
+ +
+
+ {!! isset($content->data_fields['beschreibung'])?$content->data_fields['beschreibung']:'keine Angaben' !!} +
+
+
+
+ {!! isset($content->data_fields['preis'])?$content->data_fields['preis']." €":'keine Angaben' !!} + +
+
+
+
+
+
+
+@stop + +@section('scripts') + + + + + + +@stop + diff --git a/content/index.blade.php b/content/index.blade.php index dfa9a54..e684142 100644 --- a/content/index.blade.php +++ b/content/index.blade.php @@ -126,7 +126,7 @@ {{ $content->created_at->diffForHumans() }}
- {!! strIsset($content->data_fields['neuigkeit'], 'keine Angaben') !!} + {!! strIsset(Str::limit(strip_tags(html_entity_decode($content->data_fields['neuigkeit'])), 600,'...'), 'keine Angaben') !!}
@@ -141,7 +141,7 @@ @endforeach - Ältere Nachrichten + Ältere Nachrichten diff --git a/content/lists/default.blade.php b/content/lists/default.blade.php deleted file mode 100644 index 1205747..0000000 --- a/content/lists/default.blade.php +++ /dev/null @@ -1,73 +0,0 @@ -@extends('template.'.config('settings.template').'.content.master') -@section('content') -
-
-

{{ $list->name }}

-
- @if (isset($list)) - {{ $list->description }} - @endif -
-
-
-
- @foreach($contents as $content) -
-
- @if ($content->image) - - @else - - @endif -
-
- -
- {{ $nach->created_at->diffForHumans() }} -
-
- {!! isset($content->data_fields['beschreibung'])?$content->data_fields['beschreibung']:'keine Angaben' !!} -
-
-
- -
-
- @endforeach - - - - {!! $contents->render() !!} - -
-
-
-
-
-
- -
-
- - - - -@stop - - -@section('scripts') - -@stop \ No newline at end of file diff --git a/content/lists/neuigkeiten.blade.php b/content/lists/neuigkeiten.blade.php new file mode 100644 index 0000000..95e6428 --- /dev/null +++ b/content/lists/neuigkeiten.blade.php @@ -0,0 +1,62 @@ +@extends('template.'.config('settings.template').'.content.master') +@section('content') +
+
+

{{ $list->name }}

+
+ @if (isset($list)) + {{ $list->description }} + @endif +
+
+
+
+ @foreach($contents as $content) + +
+
+ @if ($content->image) + + @else + + @endif +
+
+ +
+ {{ $content->created_at->diffForHumans() }} +
+
+ {!! strIsset(Str::limit(strip_tags(html_entity_decode($content->data_fields['neuigkeit'])), 600,'...'), 'keine Angaben') !!} +
+
+
+ +
+
+ + + @endforeach + {!! $contents->render() !!} +
+
+
+
+
+
+
+
+@stop \ No newline at end of file diff --git a/content/lists/produkte.blade.php b/content/lists/produkte.blade.php index a5c1a64..514c8af 100644 --- a/content/lists/produkte.blade.php +++ b/content/lists/produkte.blade.php @@ -25,8 +25,9 @@
{{$content->title}}
+
- {!! isset($content->data_fields['beschreibung'])?$content->data_fields['beschreibung']:'keine Angaben' !!} + {!! isset($content->data_fields['preis'])?$content->data_fields['preis']." €":'keine Angaben' !!}