Layout fragmenten en programmagids, bug fix podcastitems partial
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
<div class="schedule">
|
||||
<div class="timeslots">
|
||||
<div class="date-header"></div>
|
||||
@for($h = 0; $h < 24; $h += 0.5)
|
||||
@for($h = 0; $h < 24; $h += 1.0)
|
||||
<div class="time-header">{{$time = gmdate("H:i", $h * 3600)}} uur</div>
|
||||
@endfor
|
||||
</div>
|
||||
@@ -34,8 +34,10 @@
|
||||
@php($durationToday = ($hour + $duration <= 24) ? $duration : (24 - $hour))
|
||||
|
||||
<a href="{{route('programma') . $item['program']->url}}" class="program{{$class}}" style="height: {{$durationToday * $pixelsPerHour - 2 * $border - $margin}}px;" title="{{$item['program']->name . ($item['program']->tagline ? "\n" . $item['program']->tagline : "")}}">
|
||||
<div class="program-title">{{$item['program']->name}}</div>
|
||||
@if($isCurrent) <div class="current-marker"><span>Nu op NH Gooi</span></div> @endif
|
||||
<div class="program-title">
|
||||
@if($isCurrent) <div class="current-marker"><span>On air</span></div> @endif
|
||||
{{$item['program']->name}}
|
||||
</div>
|
||||
<div class="program-content">
|
||||
<div class="program-times"><span class="fa fa-clock"></span> {{$item['starttime']->format('H:i')}} – {{$item['endtime']->format('H:i')}}</div>
|
||||
@if($item['program']->tagline)
|
||||
|
||||
Reference in New Issue
Block a user