master
Benjamin Völkl 2020-09-24 11:25:09 +02:00
parent 60e40adbce
commit c95e8da856
1 changed files with 2 additions and 4 deletions

View File

@ -197,18 +197,16 @@


<div class="card shadow-lg" id="news-{{$nach->id}}">
<div class="card h-100 shadow-lg" id="news-{{$nach->id}}">

@if ($nach->image)
<img src="{{ asset('uploads/' . $nach->image) }}" class="card-img-top" style="display: block;">
<img src="{{ asset('uploads/' . $nach->image) }}" class="card-img-top">
@endif

<div class="card-body">


<a href="{{ route('nachrichten.get', [$nach->category->slug, $nach->slug]) }}">
<h5 class="card-title">{{$nach->title}}</h5>
</a>

<h6 class="card-subtitle mb-2">
@if ($nach->user and $nach->user->public_author == 1)