Compare commits
4
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e7bae27951 | ||
|
|
50d6a97fce | ||
|
|
539dd88d42 | ||
|
|
84355b1121 |
No files matched your search
@@ -29,7 +29,7 @@ class PodcastController extends Controller
|
|||||||
$podcasts[] = new \Model\Podcast($podcast);
|
$podcasts[] = new \Model\Podcast($podcast);
|
||||||
}
|
}
|
||||||
|
|
||||||
return view($request->ajax() ? 'partial.podcastitems' : 'podcastseries', array_merge($viewData, ['podcasts' => $podcasts, 'searchURL' => 'gemist/zoeken']));
|
return view($request->ajax() ? 'partial.podcastitems' : 'podcastseries', array_merge($viewData, ['podcasts' => $podcasts, 'searchURL' => 'gemist/zoeken', 'isPodcast' => true]));
|
||||||
}
|
}
|
||||||
|
|
||||||
public function podcast(Request $request, $id)
|
public function podcast(Request $request, $id)
|
||||||
@@ -37,6 +37,15 @@ class PodcastController extends Controller
|
|||||||
parent::registerView($request, 'podcast', $id);
|
parent::registerView($request, 'podcast', $id);
|
||||||
$apiResult = $this->API('podcast/details/' . (int)$id);
|
$apiResult = $this->API('podcast/details/' . (int)$id);
|
||||||
$podcast = new \Model\Podcast($apiResult);
|
$podcast = new \Model\Podcast($apiResult);
|
||||||
return view('podcastitem', ['podcast' => $podcast, 'metadata' => $podcast->metadata]);
|
$podcasts = [];
|
||||||
|
if($podcast->program) {
|
||||||
|
$apiResult = $this->API('podcast/programma/' . (int)$podcast->program->id . '?pagina=1&aantal=5');
|
||||||
|
$podcasts = [];
|
||||||
|
foreach($apiResult->podcasts as $p)
|
||||||
|
{
|
||||||
|
$podcasts[] = new \Model\Podcast($p);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return view('podcastitem', ['podcast' => $podcast, 'metadata' => $podcast->metadata, 'podcasts' => $podcasts, 'isPodcast' => true]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -56,7 +56,7 @@ class RadioController extends Controller
|
|||||||
public function podcast(Request $request, $id, $title = '')
|
public function podcast(Request $request, $id, $title = '')
|
||||||
{
|
{
|
||||||
if($this->checkAPI('podcast/details/' . (int)$id) != "200"){
|
if($this->checkAPI('podcast/details/' . (int)$id) != "200"){
|
||||||
return view('podcastitem', array_merge($this->getSidebareData(), ['title' => $title, 'podcast' => null, 'metadata' => null, 'related' => [], 'searchURL' => 'gemist/zoeken']));
|
return view('podcastitem', array_merge($this->getSidebareData(), ['title' => $title, 'podcast' => null, 'metadata' => null, 'related' => [], 'searchURL' => 'gemist/zoeken', 'isPodcast' => false]));
|
||||||
}
|
}
|
||||||
|
|
||||||
parent::registerView($request, 'podcast', $id);
|
parent::registerView($request, 'podcast', $id);
|
||||||
@@ -71,7 +71,7 @@ class RadioController extends Controller
|
|||||||
$podcasts[] = new \Model\Podcast($_podcast);
|
$podcasts[] = new \Model\Podcast($_podcast);
|
||||||
}
|
}
|
||||||
|
|
||||||
return view($request->ajax() ? 'partial/podcastitems' : 'podcastitem', ['title' => $title, 'podcast' => $podcast, 'metadata' => $podcast->metadata, 'podcasts' => $podcasts, 'searchURL' => 'gemist/zoeken']);
|
return view($request->ajax() ? 'partial/podcastitems' : 'podcastitem', ['title' => $title, 'podcast' => $podcast, 'metadata' => $podcast->metadata, 'podcasts' => $podcasts, 'searchURL' => 'gemist/zoeken', 'isPodcast' => false]);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function podcasts(Request $request, $programma = null)
|
public function podcasts(Request $request, $programma = null)
|
||||||
@@ -107,7 +107,7 @@ class RadioController extends Controller
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return view($request->ajax() ? 'partial/programitems' : 'programlist', ['programs' => array_reverse($programs)]);
|
return view($request->ajax() ? 'partial/programitems' : 'programlist', ['programs' => array_reverse($programs), 'isPodcast' => false]);
|
||||||
}
|
}
|
||||||
|
|
||||||
private function getPodcastList(Request $request, $action, $viewData = [])
|
private function getPodcastList(Request $request, $action, $viewData = [])
|
||||||
@@ -120,7 +120,7 @@ class RadioController extends Controller
|
|||||||
$podcasts[] = new \Model\Podcast($podcast);
|
$podcasts[] = new \Model\Podcast($podcast);
|
||||||
}
|
}
|
||||||
|
|
||||||
return view($request->ajax() ? 'partial/podcastitems' : 'podcastlist', array_merge($viewData, ['id' => 'items-podcasts', 'podcasts' => $podcasts, 'searchURL' => 'gemist/zoeken']));
|
return view($request->ajax() ? 'partial/podcastitems' : 'podcastlist', array_merge($viewData, ['id' => 'items-podcasts', 'podcasts' => $podcasts, 'searchURL' => 'gemist/zoeken', 'isPodcast' => false]));
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
Vendored
+1
-1
@@ -319,7 +319,7 @@ div.pp_default .pp_close:hover {
|
|||||||
padding: 3px 9px 3px 6px;
|
padding: 3px 9px 3px 6px;
|
||||||
margin: 8px auto;
|
margin: 8px auto;
|
||||||
}
|
}
|
||||||
.top_menu_container ul.right_menu li:last-child, .menu_mobile_container ul.right_menu li:last-child {
|
.top_menu_container ul.right_menu li.search, .menu_mobile_container ul.right_menu li.search {
|
||||||
border: none;
|
border: none;
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
<ul class="bread_crumb">
|
<ul class="bread_crumb">
|
||||||
<li><a title="Home" href="/">Home</a></li>
|
<li><a title="Home" href="/">Home</a></li>
|
||||||
<li class="separator"><i class="fa-solid fa-chevron-right"></i></li>
|
<li class="separator"><i class="fa-solid fa-chevron-right"></i></li>
|
||||||
<li><a title="Regio-agenda" href="{{route('agenda')}}">Regio-agenda</a></li>
|
<li><a title="Streekagenda" href="{{route('agenda')}}">Streekagenda</a></li>
|
||||||
<li class="separator"><i class="fa-solid fa-chevron-right"></i></li>
|
<li class="separator"><i class="fa-solid fa-chevron-right"></i></li>
|
||||||
<li>Details</li>
|
<li>Details</li>
|
||||||
</ul>
|
</ul>
|
||||||
@@ -24,7 +24,7 @@
|
|||||||
<div class="post single small_image">
|
<div class="post single small_image">
|
||||||
<ul class="post_details clearfix">
|
<ul class="post_details clearfix">
|
||||||
@if($event->region)
|
@if($event->region)
|
||||||
<li class="detail category"><i class="fa-solid fa-location-dot"></i> Regio <a title="{{$event->region}}">{{$event->region}}</a></li>
|
<li class="detail category"><i class="fa-solid fa-location-dot"></i> <a title="{{$event->region}}">{{$event->region}}</a></li>
|
||||||
@endif
|
@endif
|
||||||
<li class="detail date">
|
<li class="detail date">
|
||||||
<i class="fa-regular fa-clock"></i>
|
<i class="fa-regular fa-clock"></i>
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
@extends('layouts/sidebar')
|
@extends('layouts/sidebar')
|
||||||
|
|
||||||
@section('title')
|
@section('title')
|
||||||
Regioagenda
|
Streekagenda
|
||||||
@endsection
|
@endsection
|
||||||
|
|
||||||
@section('page_class')
|
@section('page_class')
|
||||||
@@ -28,7 +28,7 @@
|
|||||||
@if(!count($events))
|
@if(!count($events))
|
||||||
@section('content')
|
@section('content')
|
||||||
<div class="page_body margin_bottom">
|
<div class="page_body margin_bottom">
|
||||||
<p>Er zijn geen items in de regioagenda. Iets te melden? Mail het naar {{Html::mailto("info@nhgooi.nl")}}
|
<p>Er zijn geen items in de streekagenda. Iets te melden? Mail het naar {{Html::mailto("info@nhgooi.nl")}}
|
||||||
.</p>
|
.</p>
|
||||||
</div>
|
</div>
|
||||||
@endsection
|
@endsection
|
||||||
|
|||||||
@@ -19,6 +19,17 @@
|
|||||||
<div class="page_body">
|
<div class="page_body">
|
||||||
<div class="row ">
|
<div class="row ">
|
||||||
<div class="col-12 col-md">
|
<div class="col-12 col-md">
|
||||||
|
<p>NH Gooi is de publieke streekomroep van Gooi en Vechtstreek. We houden je 24 uur per dag
|
||||||
|
op de hoogte van al het nieuws, betrouwbaar en snel. Dat doen we via een eigen nieuws-
|
||||||
|
app, onze website en social media, maar ook op radio en televisie. Daarnaast brengen we
|
||||||
|
een gevarieerd aanbod van podcasts, radio- en televisieprogramma's.</p>
|
||||||
|
|
||||||
|
<p>Ons team van journalisten en programmamakers bestaat uit betaalde krachten, vrijwilligers
|
||||||
|
en stagiaires. We vinden het belangrijk mensen op te leiden en een goede plek te bieden
|
||||||
|
voor talent.</p>
|
||||||
|
|
||||||
|
<p>De redactie van NH Gooi is journalistiek onafhankelijk en wordt geleid door de chef redactie.</p>
|
||||||
|
|
||||||
<h3>Contactinformatie</h3>
|
<h3>Contactinformatie</h3>
|
||||||
|
|
||||||
<p>Neem contact op met NH Gooi, de streekomroep voor Gooi & Vechtstreek.</p>
|
<p>Neem contact op met NH Gooi, de streekomroep voor Gooi & Vechtstreek.</p>
|
||||||
|
|||||||
@@ -45,7 +45,7 @@
|
|||||||
<a href="https://wa.me/31888505651" target="_blank">Tip <i class="fa-solid fa-circle-plus"></i></a>
|
<a href="https://wa.me/31888505651" target="_blank">Tip <i class="fa-solid fa-circle-plus"></i></a>
|
||||||
</li>
|
</li>
|
||||||
@if(isset($searchURL))
|
@if(isset($searchURL))
|
||||||
<li>
|
<li class="search">
|
||||||
<form class="search_form" action="{{url($searchURL)}}">
|
<form class="search_form" action="{{url($searchURL)}}">
|
||||||
<input type="text" name="query" placeholder="Zoeken..."
|
<input type="text" name="query" placeholder="Zoeken..."
|
||||||
value="{{isset($query) ? $query : null}}" class="search_input">
|
value="{{isset($query) ? $query : null}}" class="search_input">
|
||||||
@@ -67,13 +67,13 @@
|
|||||||
<a class="player with_svg_icon" href="{{url('luister/live')}}"><span>Luister live radio </span>{!!file_get_contents(__DIR__ . '/../../../public/images/icons/radio.svg')!!}</a>
|
<a class="player with_svg_icon" href="{{url('luister/live')}}"><span>Luister live radio </span>{!!file_get_contents(__DIR__ . '/../../../public/images/icons/radio.svg')!!}</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a class="with_svg_icon" href="{{url('kijk/studio')}}"><span>Kijk live tv </span>{!!file_get_contents(__DIR__ . '/../../../public/images/icons/television-2.svg')!!}</a>
|
<a class="with_svg_icon" href="{{url('kijk/live')}}"><span>Kijk live tv </span>{!!file_get_contents(__DIR__ . '/../../../public/images/icons/television-2.svg')!!}</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a href="https://wa.me/31888505651" style="{{!isset($searchURL) ? 'margin-top: 3px' : ''}}" target="_blank"><span>Tip de streekredactie </span><i style="margin-top: 2px" class="fa-solid fa-circle-plus"></i></a>
|
<a href="https://wa.me/31888505651" style="{{!isset($searchURL) ? 'margin-top: 3px' : ''}}" target="_blank"><span>Tip de streekredactie </span><i style="margin-top: 2px" class="fa-solid fa-circle-plus"></i></a>
|
||||||
</li>
|
</li>
|
||||||
@if(isset($searchURL))
|
@if(isset($searchURL))
|
||||||
<li>
|
<li class="search">
|
||||||
<form class="search_form" action="{{url($searchURL)}}">
|
<form class="search_form" action="{{url($searchURL)}}">
|
||||||
<input type="text" name="query" placeholder="Zoeken..."
|
<input type="text" name="query" placeholder="Zoeken..."
|
||||||
value="{{isset($query) ? $query : null}}" class="search_input">
|
value="{{isset($query) ? $query : null}}" class="search_input">
|
||||||
@@ -110,17 +110,18 @@
|
|||||||
<div class="col-12 col-md-3">
|
<div class="col-12 col-md-3">
|
||||||
<h4 class="box_header"><span>NH Gooi</span></h4>
|
<h4 class="box_header"><span>NH Gooi</span></h4>
|
||||||
<p class="about">
|
<p class="about">
|
||||||
NH Gooi is de streekomroep voor Gooi & Vechtstreek. Wij bieden een gevarieerd programma op
|
NH Gooi is de streekomroep voor Gooi & Vechtstreek. Wij brengen nieuws en achtergronden
|
||||||
radio, podcasts, tv en online met muziek, achtergronden en actueel regionieuws.
|
op onze website, radio en televisie. Daarnaast brengen we boeiende en belangrijke podcasts
|
||||||
|
en een gevariëerd programma-aanbod op al onze media-kanalen.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-12 col-md-3">
|
<div class="col-12 col-md-3">
|
||||||
<h4 class="box_header"><span style="height: 30px;display: block;width: 0;"></span></h4>
|
<h4 class="box_header"><span style="height: 30px;display: block;width: 0;"></span></h4>
|
||||||
<p class="about">
|
<p class="about">
|
||||||
Altijd op de hoogte blijven van nieuws en achtergronden uit de regio? <a href="{{url('app')}}">Download onze app</a>.
|
Altijd op de hoogte blijven van nieuws en achtergronden uit de regio? <span class="fas fa-mobile"></span> <a href="{{url('app')}}">Download onze app</a>.
|
||||||
</p>
|
</p>
|
||||||
<p class="about">
|
<p class="about">
|
||||||
<a href="{{url('frequenties')}}">Klik hier</a> waar je ons kunt zien en horen.
|
<span class="fa fa-list"></span> <a href="{{url('frequenties')}}">Bekijk hier</a> waar je ons kunt zien en horen.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-12 col-md-3">
|
<div class="col-12 col-md-3">
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<div>
|
<div>
|
||||||
@foreach($podcasts as $podcast)
|
@foreach($podcasts as $podcast)
|
||||||
<?php
|
<?php
|
||||||
$url = route('gemist.fragment') . $podcast->url;
|
$url = ($isPodcast ? '/podcast/aflevering' : '/gemist/fragment') . $podcast->url;
|
||||||
$popoutUrl = route('luister.podcast') . $podcast->url . '?auth=' . $podcast->auth;
|
$popoutUrl = route('luister.podcast') . $podcast->url . '?auth=' . $podcast->auth;
|
||||||
?>
|
?>
|
||||||
<div class="box full-width featured">
|
<div class="box full-width featured">
|
||||||
@@ -15,7 +15,7 @@
|
|||||||
<h2 class="post_title"><a href="{{$url}}" title="{{$podcast->title}}">{!!$podcast->titleWithoutProgram()!!}</a></h2>
|
<h2 class="post_title"><a href="{{$url}}" title="{{$podcast->title}}">{!!$podcast->titleWithoutProgram()!!}</a></h2>
|
||||||
<div class="sub_title">
|
<div class="sub_title">
|
||||||
@if ($podcast->program)
|
@if ($podcast->program)
|
||||||
<a class="program_name" href="{{ route('programma') . $podcast->program->url }}"
|
<a class="program_name" href="/{{ ($isPodcast ? 'podcast' : 'programma') . $podcast->program->url }}"
|
||||||
title="{{$podcast->program->name}}">{{$podcast->program->name}}</a>
|
title="{{$podcast->program->name}}">{{$podcast->program->name}}</a>
|
||||||
@endif
|
@endif
|
||||||
<span class="post_date" title="{{Formatter::relativeDate($podcast->created)}}">
|
<span class="post_date" title="{{Formatter::relativeDate($podcast->created)}}">
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ $actionButton = array_merge([
|
|||||||
?>
|
?>
|
||||||
<ul id="{{$id ?? ''}}" class="{{$ul['class']}}">
|
<ul id="{{$id ?? ''}}" class="{{$ul['class']}}">
|
||||||
@foreach($podcasts as $podcast)
|
@foreach($podcasts as $podcast)
|
||||||
<?php $url = route('gemist.fragment') . $podcast->url; ?>
|
<?php $url = ($isPodcast ? '/podcast/aflevering' : '/gemist/fragment') . $podcast->url; ?>
|
||||||
<li style="{{$li['style']}}" class="post {{$li['class']}}">
|
<li style="{{$li['style']}}" class="post {{$li['class']}}">
|
||||||
<div style="{{$content['style']}}" class="post_content {{$content['class']}}">
|
<div style="{{$content['style']}}" class="post_content {{$content['class']}}">
|
||||||
<h2 class="post_title">
|
<h2 class="post_title">
|
||||||
|
|||||||
@@ -4,9 +4,11 @@
|
|||||||
|
|
||||||
@section('title')
|
@section('title')
|
||||||
@if($podcast)
|
@if($podcast)
|
||||||
Fragment gemist
|
{{ $podcast->title }}
|
||||||
|
@elseif($isPodcast)
|
||||||
|
NH Gooi Podcast
|
||||||
@else
|
@else
|
||||||
Fragment {{$title}} niet gevonden
|
Fragment gemist
|
||||||
@endif
|
@endif
|
||||||
@endsection
|
@endsection
|
||||||
|
|
||||||
@@ -18,14 +20,18 @@
|
|||||||
<ul class="bread_crumb">
|
<ul class="bread_crumb">
|
||||||
<li><a title="Home" href="/">Home</a></li>
|
<li><a title="Home" href="/">Home</a></li>
|
||||||
<li class="separator"><i class="fa-solid fa-chevron-right"></i></li>
|
<li class="separator"><i class="fa-solid fa-chevron-right"></i></li>
|
||||||
<li><a title="Fragment gemist" href="{{route('gemist')}}">Fragment gemist</a></li>
|
@if($isPodcast)
|
||||||
|
<li>NH Gooi podcast</li>
|
||||||
|
@else
|
||||||
|
<li><a title="Home" href="/gemist/fragment">Fragment gemist</a></li>
|
||||||
|
@endif
|
||||||
<li class="separator"><i class="fa-solid fa-chevron-right"></i></li>
|
<li class="separator"><i class="fa-solid fa-chevron-right"></i></li>
|
||||||
@if($podcast && $podcast->program)
|
@if($podcast && $podcast->program)
|
||||||
<li><a title="{{$podcast->program->name}}"
|
<li><a title="{{$podcast->program->name}}"
|
||||||
href="{{route('gemist.programma') . $podcast->program->url}}">{{$podcast->program->name}}</a></li>
|
href="{{route('gemist.programma') . $podcast->program->url}}">{{$podcast->program->name}}</a></li>
|
||||||
<li class="separator"><i class="fa-solid fa-chevron-right"></i></li>
|
<li class="separator"><i class="fa-solid fa-chevron-right"></i></li>
|
||||||
@endif
|
@endif
|
||||||
<li>Fragment</li>
|
<li>{{ $podcast->title }}</li>
|
||||||
</ul>
|
</ul>
|
||||||
@endsection
|
@endsection
|
||||||
|
|
||||||
@@ -91,7 +97,6 @@
|
|||||||
<div class="row news_post">
|
<div class="row news_post">
|
||||||
<div class="col-12 col-md content_container">
|
<div class="col-12 col-md content_container">
|
||||||
<div class="box full-width post single small_image md_margin_top">
|
<div class="box full-width post single small_image md_margin_top">
|
||||||
<h1 class="page_title">{{$podcast->title}}</h1>
|
|
||||||
<div class="post_body">
|
<div class="post_body">
|
||||||
<ul class="post_details clearfix">
|
<ul class="post_details clearfix">
|
||||||
<li class="detail date">
|
<li class="detail date">
|
||||||
@@ -100,7 +105,7 @@
|
|||||||
</li>
|
</li>
|
||||||
@if($podcast->program)
|
@if($podcast->program)
|
||||||
<li class="detail author">
|
<li class="detail author">
|
||||||
<a href="{{ route('programma') . $podcast->program->url }}">{{ $podcast->program->name }}</a>
|
<a href="/{{ ($isPodcast ? 'podcast' : 'programma') . $podcast->program->url }}">{{ $podcast->program->name }}</a>
|
||||||
</li>
|
</li>
|
||||||
@endif
|
@endif
|
||||||
</ul>
|
</ul>
|
||||||
@@ -150,15 +155,15 @@
|
|||||||
<div data-tabs>
|
<div data-tabs>
|
||||||
<div class="tabs">
|
<div class="tabs">
|
||||||
<h4 data-tab-content-id="tab_more_fragmenten"
|
<h4 data-tab-content-id="tab_more_fragmenten"
|
||||||
class="box_header small flex-grow-1 active"><span>Meer fragmenten</span>
|
class="box_header small flex-grow-1 active"><span>Meer {{$isPodcast ? 'afleveringen' : 'fragmenten'}}</span>
|
||||||
</h4>
|
</h4>
|
||||||
</div>
|
</div>
|
||||||
<div id="tab_more_fragmenten" class="box tab_content podcast_items active">
|
<div id="tab_more_fragmenten" class="box tab_content podcast_items active">
|
||||||
@include('partial/podcastitems', ['id' => 'items-podcasts', 'showTime' => false, 'showImage' => false, 'podcasts' => $podcasts])
|
@include('partial/podcastitems', ['id' => 'items-podcasts', 'showTime' => false, 'showImage' => false, 'podcasts' => $podcasts, 'isPodcast' => $isPodcast])
|
||||||
<a class="btn auto_width" id="meer-nieuws-more-podcast" href="#"
|
<a class="btn auto_width" id="meer-nieuws-more-podcast" href="#"
|
||||||
data-loadmorenews='{"container":["#items-podcasts"]}'>
|
data-loadmorenews='{"container":["#items-podcasts"]}'>
|
||||||
<span class="fas fa-spinner fa-spin" id="loading"></span>
|
<span class="fas fa-spinner fa-spin" id="loading"></span>
|
||||||
Meer fragmenten
|
Meer {{$isPodcast ? 'afleveringen' : 'fragmenten'}}
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -79,7 +79,8 @@
|
|||||||
'class' => 'd-flex flex-column justify-content-end flex-grow-1'
|
'class' => 'd-flex flex-column justify-content-end flex-grow-1'
|
||||||
],
|
],
|
||||||
'showAction' => true,
|
'showAction' => true,
|
||||||
'podcasts' => array_slice($podcasts, 0, 8)])
|
'podcasts' => array_slice($podcasts, 0, 8),
|
||||||
|
'isPodcast' => $isPodcast])
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@else
|
@else
|
||||||
@@ -98,7 +99,7 @@
|
|||||||
</h4>
|
</h4>
|
||||||
</div>
|
</div>
|
||||||
<div id="tab_more_fragmenten" class="box tab_content podcast_items active">
|
<div id="tab_more_fragmenten" class="box tab_content podcast_items active">
|
||||||
@include('partial/podcastitems', ['id' => 'items-podcasts', 'showTime' => false, 'showImage' => false, 'podcasts' => array_slice($podcasts, 8)])
|
@include('partial/podcastitems', ['id' => 'items-podcasts', 'showTime' => false, 'showImage' => false, 'podcasts' => array_slice($podcasts, 8), 'isPodcast' => $isPodcast])
|
||||||
<a class="btn auto_width" id="meer-nieuws-more-podcast" href="#"
|
<a class="btn auto_width" id="meer-nieuws-more-podcast" href="#"
|
||||||
data-loadmorenews='{"container":["#items-podcasts"]}'>
|
data-loadmorenews='{"container":["#items-podcasts"]}'>
|
||||||
<span class="fas fa-spinner fa-spin" id="loading"></span>
|
<span class="fas fa-spinner fa-spin" id="loading"></span>
|
||||||
|
|||||||
@@ -1,7 +1,11 @@
|
|||||||
@extends('layouts/full')
|
@extends('layouts/full')
|
||||||
|
|
||||||
@section('title')
|
@section('title')
|
||||||
Fragment gemist
|
@if(isset($program))
|
||||||
|
{{ $program->name }}
|
||||||
|
@else
|
||||||
|
NH Gooi Podcast
|
||||||
|
@endif
|
||||||
@endsection
|
@endsection
|
||||||
|
|
||||||
@section('page_class')
|
@section('page_class')
|
||||||
@@ -12,14 +16,12 @@
|
|||||||
<ul class="bread_crumb ">
|
<ul class="bread_crumb ">
|
||||||
<li><a title="Home" href="/">Home</a></li>
|
<li><a title="Home" href="/">Home</a></li>
|
||||||
<li class="separator"><i class="fa-solid fa-chevron-right"></i></li>
|
<li class="separator"><i class="fa-solid fa-chevron-right"></i></li>
|
||||||
<li><a title="Fragment gemist" href="{{route('gemist')}}">Fragment gemist</a></li>
|
<li>NH Gooi podcast</li>
|
||||||
<li class="separator"><i class="fa-solid fa-chevron-right"></i></li>
|
|
||||||
@if(isset($program))
|
@if(isset($program))
|
||||||
<li><a title="{{$program->name}}"
|
|
||||||
href="{{route('gemist.programma') . $program->url}}">{{$program->name}}</a></li>
|
|
||||||
<li class="separator"><i class="fa-solid fa-chevron-right"></i></li>
|
<li class="separator"><i class="fa-solid fa-chevron-right"></i></li>
|
||||||
|
<li><a title="{{$program->name}}"
|
||||||
|
href="/podcast{{$program->url}}">{{$program->name}}</a></li>
|
||||||
@endif
|
@endif
|
||||||
<li>Fragmenten</li>
|
|
||||||
</ul>
|
</ul>
|
||||||
@endsection
|
@endsection
|
||||||
|
|
||||||
@@ -28,8 +30,7 @@
|
|||||||
<div class="row news_post">
|
<div class="row news_post">
|
||||||
<div class="col-12 col-md content_container md_padding_top_80">
|
<div class="col-12 col-md content_container md_padding_top_80">
|
||||||
@if(isset($program))
|
@if(isset($program))
|
||||||
<div class="box full-width post single">
|
<div class="no-box full-width post single">
|
||||||
<h1 class="page_title">{{$program->name}}</h1>
|
|
||||||
<div class="post_body">
|
<div class="post_body">
|
||||||
<div class="content_box clearfix section_margin_top">
|
<div class="content_box clearfix section_margin_top">
|
||||||
<div class="post_content page_margin_top_section ">
|
<div class="post_content page_margin_top_section ">
|
||||||
@@ -43,12 +44,12 @@
|
|||||||
|
|
||||||
<div class="page_layout clearfix">
|
<div class="page_layout clearfix">
|
||||||
<div class="grid" id="items">
|
<div class="grid" id="items">
|
||||||
@include('partial/podcastdirectitems', ['podcasts' => array_slice($podcasts, 0, 2)])
|
@include('partial/podcastdirectitems', ['podcasts' => array_slice($podcasts, 0, 2), 'isPodcast' => $isPodcast])
|
||||||
</div><!--/.row-->
|
</div><!--/.row-->
|
||||||
</div>
|
</div>
|
||||||
@else
|
@else
|
||||||
<div class="box full-width">
|
<div class="box full-width">
|
||||||
<p class="page_body">Er zijn geen fragmenten beschikbaar.</p>
|
<p class="page_body">Er zijn geen items beschikbaar.</p>
|
||||||
</div>
|
</div>
|
||||||
@endif
|
@endif
|
||||||
</div>
|
</div>
|
||||||
@@ -62,7 +63,7 @@
|
|||||||
</h4>
|
</h4>
|
||||||
</div>
|
</div>
|
||||||
<div id="tab_more_fragmenten" class="box tab_content podcast_items active">
|
<div id="tab_more_fragmenten" class="box tab_content podcast_items active">
|
||||||
@include('partial/podcastitems', ['id' => 'items-podcasts', 'showTime' => false, 'showImage' => false, 'podcasts' => array_slice($podcasts, 2)])
|
@include('partial/podcastitems', ['id' => 'items-podcasts', 'showTime' => false, 'showImage' => false, 'podcasts' => array_slice($podcasts, 2), 'isPodcast' => $isPodcast])
|
||||||
<a class="btn auto_width" id="meer-nieuws-more-podcast" href="#"
|
<a class="btn auto_width" id="meer-nieuws-more-podcast" href="#"
|
||||||
data-loadmorenews='{"container":["#items-podcasts"]}'>
|
data-loadmorenews='{"container":["#items-podcasts"]}'>
|
||||||
<span class="fas fa-spinner fa-spin" id="loading"></span>
|
<span class="fas fa-spinner fa-spin" id="loading"></span>
|
||||||
|
|||||||
@@ -120,7 +120,7 @@ function buildMenu($menu, $ismobile)
|
|||||||
<div></div>
|
<div></div>
|
||||||
<ul class="menu d-none d-lg-block">
|
<ul class="menu d-none d-lg-block">
|
||||||
<li class="{{isActive('/', false) ? "selected" : ""}}">
|
<li class="{{isActive('/', false) ? "selected" : ""}}">
|
||||||
<a href="/" title="Home">Home</a>
|
<a href="/" title="Nieuws">Nieuws</a>
|
||||||
</li>
|
</li>
|
||||||
<?php /*@php($newsUrl = '/nieuws')
|
<?php /*@php($newsUrl = '/nieuws')
|
||||||
<li class="{{isActive($newsUrl, false) ? "selected" : ""}}">
|
<li class="{{isActive($newsUrl, false) ? "selected" : ""}}">
|
||||||
@@ -143,7 +143,7 @@ function buildMenu($menu, $ismobile)
|
|||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
<li class="{{isActive('/', false) ? "selected" : ""}}">
|
<li class="{{isActive('/', false) ? "selected" : ""}}">
|
||||||
<a href="/" title="Home">Home</a>
|
<a href="/" title="Nieuws">Nieuws</a>
|
||||||
</li>
|
</li>
|
||||||
@php($newsUrl = '/nieuws')
|
@php($newsUrl = '/nieuws')
|
||||||
<li class="{{isActive($newsUrl, false) ? "selected" : ""}}">
|
<li class="{{isActive($newsUrl, false) ? "selected" : ""}}">
|
||||||
|
|||||||
+1
-1
@@ -67,7 +67,7 @@ Route::get('/gemist/fragment/{id}/{title}', 'RadioController@podcast')->where(['
|
|||||||
Route::get('/gemist/programma', 'RadioController@terugluisteren')->name('gemist.programma');
|
Route::get('/gemist/programma', 'RadioController@terugluisteren')->name('gemist.programma');
|
||||||
Route::get('/gemist/programma/{programma}/{title}', 'RadioController@podcasts')->where(['programma' => '\d+']);
|
Route::get('/gemist/programma/{programma}/{title}', 'RadioController@podcasts')->where(['programma' => '\d+']);
|
||||||
|
|
||||||
Route::get('/podcast/{programma}/{title}', 'PodcastController@podcasts')->where(['programma' => '\d+']);
|
Route::get('/podcast/{programma}/{title}', 'PodcastController@podcasts')->where(['programma' => '\d+'])->name('podcast.overzicht');
|
||||||
Route::get('/podcast/fragment/{id}/{title}', 'RadioController@podcast')->where(['id' => '\d+', 'title' => '.*']);
|
Route::get('/podcast/fragment/{id}/{title}', 'RadioController@podcast')->where(['id' => '\d+', 'title' => '.*']);
|
||||||
Route::get('/podcast/aflevering/{id}/{title}', 'PodcastController@podcast')->where(['id' => '\d+']);
|
Route::get('/podcast/aflevering/{id}/{title}', 'PodcastController@podcast')->where(['id' => '\d+']);
|
||||||
Route::get('/podcast/zoeken/{query}', 'RadioController@searchpodcast')->name('gemist.zoeken');
|
Route::get('/podcast/zoeken/{query}', 'RadioController@searchpodcast')->name('gemist.zoeken');
|
||||||
|
|||||||
Reference in new issue
Block a user