diff --git a/skolehjem/resources/views/app/news/index.blade.php b/skolehjem/resources/views/app/news/index.blade.php index cae3832..5f19a0a 100644 --- a/skolehjem/resources/views/app/news/index.blade.php +++ b/skolehjem/resources/views/app/news/index.blade.php @@ -102,6 +102,10 @@ @endif } + .card > .container img { + width: 100%; + } + .dot { height: 10px; width: 10px; @@ -139,7 +143,7 @@
Menuplan:
{{ $new->subname }} - {{__('msg.opret')}}{{ date('Y-m-d H:i', strtotime($new->created_at))}} + {{__('msg.opret')}}{{ date('Y-m-d H:i:s', strtotime($new->created_at))}}
@if($new->resource_id !== null)
@@ -156,11 +160,11 @@
Aktiviteter:
{{ $new->subname }} - {{__('msg.opret')}}{{ date('Y-m-d H:i', strtotime($new->created_at))}} + {{__('msg.opret')}}{{ date('Y-m-d H:i:s', strtotime($new->created_at))}}
@if($new->resource_id !== null)
-
{{ \Illuminate\Support\Facades\Date::createFromTimeStamp(strtotime(\App\Event::query()->where('id', '=', $new->arrangement_id)->first()->date))->format('d/m/Y \k\l\. H:i') }} {{\App\Event::query()->where('id', '=', $new->arrangement_id)->first()->accountable}}
+
{{ \Illuminate\Support\Facades\Date::createFromTimeStamp(strtotime(\App\Event::query()->where('id', '=', $new->arrangement_id)->first()->date))->format('d/m/Y \k\l\. H:i') }} | {{\App\Event::query()->where('id', '=', $new->arrangement_id)->first()->accountable}}
{!! \App\Helpers::closetags(substr($new->content, 0, 300) ) !!}
@@ -193,35 +197,22 @@
Vejledninger:
{{ $new->subname }} - {{__('msg.opret')}}{{ date('Y-m-d H:i', strtotime($new->created_at))}} + {{__('msg.opret')}}{{ date('Y-m-d H:i:s', strtotime($new->created_at))}}
@if($new->resource_id !== null)
{{__('msg.kategori')}}: {{\App\GuidesCategory::query()->where('id', '=', \App\Guide::query()->where('id','=', $new->arrangement_id)->first()->guide_category_id)->first()->guidesCategoryName}}
-
- @php $tags = [ '

', '', '', '', '', '', '', '