master
parent
78d7aad2dd
commit
d26e0a16ae
|
@ -24,11 +24,9 @@
|
|||
|
||||
<div class="col-xs-12">
|
||||
<hr class="title__divider">
|
||||
<h1>{{ $listModel->name }}</h1>
|
||||
<h1>{{ $list->name }}</h1>
|
||||
|
||||
|
||||
@if (isset($listModel))
|
||||
{{ $listModel->description }}
|
||||
@endif
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
|
@ -39,16 +37,16 @@
|
|||
@foreach($contents as $indexContent => $content)
|
||||
|
||||
<div class="col-12 col-md-6 col-lg-4" style="margin-bottom: 30px;">
|
||||
<div class="card h-100 shadow-lg" id="news-{{$nach->id}}">
|
||||
<div class="card h-100 shadow-lg" id="news-{{$content->id}}">
|
||||
@if ($nach->image)
|
||||
<img src="{{ asset('uploads/' . $nach->image) }}" class="img-responsive card-img-top">
|
||||
<img src="{{ asset($content->image) }}" class="img-responsive card-img-top">
|
||||
@endif
|
||||
<div class="card-body">
|
||||
<h3 class="card-title">
|
||||
{{$nach->title}}
|
||||
</h3>
|
||||
<h7 class="card-subtitle mb-2">
|
||||
<span style="font-weight: normal " class="text-dark">{{date('d.m.Y H:i', strtotime($nach->created_at))}}</span>
|
||||
<span style="font-weight: normal " class="text-dark">{{date('d.m.Y H:i', strtotime($content->created_at))}}</span>
|
||||
</h7>
|
||||
<p style="font-size: 16px;">
|
||||
{!! isset($nach->additional_fields['4']) ? $nach->additional_fields['4'] : 'keine Angaben' !!}
|
||||
|
@ -56,7 +54,7 @@
|
|||
|
||||
</div>
|
||||
<div class="card-footer text-right">
|
||||
<a href="{{ route_content($nach) }}" class="btn btn-sm btn-primary">Mehr lesen</a>
|
||||
<a href="{{ route_content($content) }}" class="btn btn-sm btn-primary">Mehr lesen</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue