master
Benjamin Völkl 2021-09-07 12:18:29 +02:00
parent aaa3120730
commit 27b5359026
2 changed files with 3 additions and 14 deletions

View File

@ -48,18 +48,9 @@
{{$nach->title}}
</h3>
<h7 class="card-subtitle mb-2">
@if ($nach->user and $nach->user->public_author == 1)
<a class="text-dark" href="{{ route('author.get', [$nach->user->slug]) }}">
<img src="{{ $nach->user->gravatar() }}" width="32" class="rounded-circle">
{{ $nach->user->name }}</a> -
@endif
<span style="font-weight: normal " class="text-dark">{{date('d.m.Y H:i', strtotime($nach->created_at))}}</span>

</h7>


{!!Str::limit( $nach->nachrichten ,600)!!}

</div>
</div>
</div>

View File

@ -41,11 +41,9 @@
<hr class="title__divider">
<h1>{{$nach->title}}</h1>

Jeden Donnerstag von ca. 08:00 Uhr bis ca. 12:00 Uhr.

@if(isset($nach->additional_fields['1']))
{!! isset($nach->additional_fields['1']) ? $nach->additional_fields['1'] : 'keine Angaben' !!}
@endif

<h2>Bilder</h2>
<!-- 3 collumns gallery -->
<div class="row">
@ -53,7 +51,7 @@
@if ($nach->image)
<img class="gallery" alt="Gallery image" src="{{ asset('uploads/' . $nach->image) }}">
@else
<img class="gallery" alt="Gallery image" src="https://placehold.it/300x300">
<img class="gallery" alt="Gallery image" src="https://picsum.photos/300/200">
@endif
</div>