ajusted news section
parent
01db4b65d7
commit
60e40adbce
|
@ -199,13 +199,15 @@
|
|||
|
||||
<div class="card shadow-lg" id="news-{{$nach->id}}">
|
||||
|
||||
|
||||
@if ($nach->image)
|
||||
<img src="{{ asset('uploads/' . $nach->image) }}" class="card-img-top" style="display: block;">
|
||||
@endif
|
||||
|
||||
<div class="card-body">
|
||||
|
||||
|
||||
|
||||
<a href="{{ route('nachrichten.get', [$nach->category->slug, $nach->slug]) }}">
|
||||
<h2 class="card-title">{{$nach->title}}</h2>
|
||||
<h5 class="card-title">{{$nach->title}}</h5>
|
||||
</a>
|
||||
|
||||
<h6 class="card-subtitle mb-2">
|
||||
|
@ -214,7 +216,7 @@
|
|||
<img src="{{ $nach->user->gravatar() }}" width="32" class="rounded-circle">
|
||||
{{ $nach->user->name }}</a> - <span style="font-weight: normal " class="text-dark"">{{date('d.m.Y H:i', strtotime($nach->created_at))}}</span>
|
||||
@else
|
||||
<span style="font-weight: normal " class="text-dark"">{{date('d.m.Y H:i', strtotime($nach->created_at))}}</span>
|
||||
<i style="font-weight: normal " class="text-dark"">{{date('d.m.Y H:i', strtotime($nach->created_at))}}</i>
|
||||
@endif
|
||||
</h6>
|
||||
|
||||
|
@ -228,9 +230,7 @@
|
|||
@endif
|
||||
-->
|
||||
|
||||
@if ($nach->image)
|
||||
<img src="{{ asset('uploads/' . $nach->image) }}" class="img-responsive" style="max-width: 100%;margin-bottom: 20px; margin-top:20px; display: block;">
|
||||
@endif
|
||||
|
||||
|
||||
|
||||
<p class="card-text">
|
||||
|
|
Loading…
Reference in New Issue