Now playing en mega menu
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<h4 class="box_header"><span class="fa fa-music"></span> Nu op NH Gooi Radio</h4>
|
||||
<h4 class="page_margin_top box_header"><span class="fa fa-music"></span> Nu op NH Gooi Radio</h4>
|
||||
|
||||
<div class="clearfix">
|
||||
|
||||
@@ -25,9 +25,9 @@
|
||||
@php($startDay = $program->start->format('d'))
|
||||
@foreach($data as $program)
|
||||
@php($isToday = $program->start->format('d') == $startDay)
|
||||
@if($loop->index > 10)
|
||||
@if($loop->index > 5)
|
||||
@break
|
||||
@elseif(($loop->index > 3) && (!$isToday) && $program->nonstop)
|
||||
@elseif(($loop->index >= 3) && $program->nonstop)
|
||||
@break
|
||||
@elseif(!$loop->first)
|
||||
<li class="bullet style_2"><a href="{{url($program->url)}}" title="{{$program->name}}">
|
||||
@@ -37,6 +37,7 @@
|
||||
@if($program->tagline)
|
||||
<li class="bullet text-muted">{{$program->tagline}}</li>
|
||||
@endif
|
||||
|
||||
@endif
|
||||
@endforeach
|
||||
</ul>
|
||||
|
||||
Reference in New Issue
Block a user