added lists
parent
0f099028e9
commit
4f39f0f644
|
@ -15,8 +15,8 @@
|
||||||
<h1>Aktuelles</h1>
|
<h1>Aktuelles</h1>
|
||||||
|
|
||||||
<p class="intro">
|
<p class="intro">
|
||||||
@if (isset($categoryModel))
|
@if (isset($listModel))
|
||||||
{{ $categoryModel->description }}
|
{{ $listModel->description }}
|
||||||
@else
|
@else
|
||||||
{{ \Setting::get('description')}}
|
{{ \Setting::get('description')}}
|
||||||
@endif
|
@endif
|
||||||
|
@ -164,7 +164,7 @@
|
||||||
<div class="article-feed">
|
<div class="article-feed">
|
||||||
@foreach($nachrichten as $nach)
|
@foreach($nachrichten as $nach)
|
||||||
|
|
||||||
<article class="newsentry" style="width: 100%;" data-slug="{{ $nach->category->slug }}/{{ $nach->slug }}">
|
<article class="newsentry" style="width: 100%;" data-slug="{{ $nach->list->slug }}/{{ $nach->slug }}">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -185,7 +185,7 @@
|
||||||
<br>
|
<br>
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
<a href="{{ route('nachrichten.get', [$nach->category->slug, $nach->slug]) }}">
|
<a href="{{ route('nachrichten.get', [$nach->list->slug, $nach->slug]) }}">
|
||||||
<h2 class="card-title">{{$nach->title}}</h2>
|
<h2 class="card-title">{{$nach->title}}</h2>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
|
@ -199,10 +199,10 @@
|
||||||
@endif
|
@endif
|
||||||
</h6>
|
</h6>
|
||||||
|
|
||||||
@if ($nach->category)
|
@if ($nach->list)
|
||||||
<a href="{{ route('category.get', [$nach->category->slug]) }}">
|
<a href="{{ route('list.get', [$nach->list->slug]) }}">
|
||||||
<div class="badge badge-warning">
|
<div class="badge badge-warning">
|
||||||
<p style="margin:3px;font-size:15px;">{{ $nach->category->name}}</p>
|
<p style="margin:3px;font-size:15px;">{{ $nach->list->name}}</p>
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
@endif
|
@endif
|
Loading…
Reference in New Issue