Veel kleine puntjes weggewerkt
This commit is contained in:
@@ -6,11 +6,11 @@
|
||||
</a>
|
||||
<div class="post_content">
|
||||
<h5>
|
||||
<a href="{{url('radio/gemist/fragment/' . $podcast->url)}}" title="{{$podcast->title}}">{{$podcast->titleWithoutProgram()}}</a>
|
||||
<a href="{{route('gemist.details') . $podcast->url}}" title="{{$podcast->title}}">{{$podcast->titleWithoutProgram()}}</a>
|
||||
</h5>
|
||||
<ul class="post_details simple">
|
||||
@if($podcast->program)
|
||||
<li class="category"><a href="{{url('radio/gemist/programma' . $podcast->program->url)}}" title="{{$podcast->program->name}}">{{$podcast->program->name}}</a></li>
|
||||
<li class="category"><a href="{{route('gemist.programma') . $podcast->program->url}}" title="{{$podcast->program->name}}">{{$podcast->program->name}}</a></li>
|
||||
@endif
|
||||
<li class="date">
|
||||
{{Formatter::relativeDate($podcast->created)}}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php $menu = array(
|
||||
"Radio" => array(
|
||||
"" => "/",
|
||||
"" => "/gids",
|
||||
"Luister live" => "/luister/live",
|
||||
"Regionieuws" => "/luister/regionieuws",
|
||||
"Programmagids" => "/gids",
|
||||
@@ -31,12 +31,13 @@ function buildMenu($menu, $ismobile) {
|
||||
if($title == "") { continue; }
|
||||
$submenu = is_array($link);
|
||||
$isactive = isActive($link, !$ismobile);
|
||||
$isplayer = !$submenu && substr($link, 0, 8) == '/luister';
|
||||
$submenulink = $submenu && isset($link[""]) ? $link[""] : "#";
|
||||
if(!$submenu && substr($link, 0, 8) == "/luister") { $icon = "<span class='fas fa-headphones'></span> "; }
|
||||
if($isplayer) { $icon = "<span class='fas fa-headphones'></span> "; }
|
||||
else { $icon = ""; }
|
||||
$result .=
|
||||
"<li class=\"" . ($submenu ? "submenu" : "") . ($isactive ? " selected" : "") . "\">
|
||||
<a href=\"" . ($submenu ? $submenulink : $link) . "\" title=\"{$title}\">{$icon}{$title}</a>";
|
||||
<a href=\"" . ($submenu ? $submenulink : $link) . "\" class=\"" . ($isplayer ? "player" : "") . "\" title=\"{$title}\">{$icon}{$title}</a>";
|
||||
if($submenu) {
|
||||
$result .= "\t\t\t<ul>\n"
|
||||
. buildMenu($link, $ismobile)
|
||||
@@ -107,14 +108,14 @@ function buildMenu($menu, $ismobile) {
|
||||
@endif
|
||||
@if($podcasts)
|
||||
<li class="submenu">
|
||||
<a href="{{url('/gemist')}}" title="Gesprek gemist">
|
||||
<a href="{{route('gemist')}}" title="Gesprek gemist">
|
||||
Fragment gemist
|
||||
</a>
|
||||
<ul class="mega_menu blog">
|
||||
@foreach($podcasts as $item)
|
||||
<li class="post">
|
||||
@if($item->image)
|
||||
<a href="{{url('/gemist/fragment/' . $item->url)}}" title="{{$item->title}}">
|
||||
<a href="{{route('gemist.details') . $item->url}}" title="{{$item->title}}">
|
||||
<img src='{{$imgBase . $item->image->url}}' alt='{{$item->title}}'>
|
||||
</a>
|
||||
@endif
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
@if($program->tagline)
|
||||
<p>{{$program->tagline}}</p>
|
||||
@endif
|
||||
<a class="action_button" style="margin-top: 0;" href="{{url('radio/luister/live')}}" title="Luister live">
|
||||
<a class="action_button player" style="margin-top: 0;" href="{{route('luister.live')}}" title="Luister live">
|
||||
<span class="fa fa-play"></span>
|
||||
<span>Luister live tot {{$program->end->format('H:i')}} uur.</span>
|
||||
</a>
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
<a href="{{url($news->url)}}" title="{{$news->title}}">{{$news->title}}</a>
|
||||
</h5>
|
||||
<ul class="post_details simple">
|
||||
<li class="category"><a href="{{url('nieuws/regio/' . $news->region->slug)}}" title="{{$news->region->title}}">{{$news->region->title}}</a></li>
|
||||
<li class="category"><a href="{{route('nieuws.regio', $news->region->slug)}}" title="{{$news->region->title}}">{{$news->region->title}}</a></li>
|
||||
<li class="date">
|
||||
{{Formatter::relativeDate($news->published)}}
|
||||
</li>
|
||||
|
||||
Reference in New Issue
Block a user