Aanpassingen layout na feedback

This commit is contained in:
2020-02-15 15:25:04 +01:00
parent 7f5a6ca40e
commit 9baa4a8556
13 changed files with 96 additions and 83 deletions

View File

@@ -41,4 +41,17 @@
@endif
@endforeach
</ul>
@if(isset($recent))
<h5 class="page_margin_top box_header">Net gemist?</h5>
<p><b>{{$recent->name}}</b></p>
<span class="text-muted">{{Formatter::relativeDate($recent->start)}} om {{$recent->start->format('H:i')}}.</span>
<p class="clearfix">
@php($duration = $recent->end->diff($recent->start)->h)
<a class="action_button player" style="margin-top: 0;" href="{{route('luister.programma') . '/' . $recent->start->format('Y/m/d/H') . '/' . $duration}}" title="Luister live">
<span class="fa fa-history"></span>
<span>Terugluisteren</span>
</a>
</p>
@endif
</div>