diff --git a/resources/views/podcastitem.blade.php b/resources/views/podcastitem.blade.php
index 7c6c5302..d9cd1d4b 100644
--- a/resources/views/podcastitem.blade.php
+++ b/resources/views/podcastitem.blade.php
@@ -3,11 +3,13 @@
@include('widgets/mediaplayer')
@section('title')
- @if ($podcast)
- Fragment gemist
- @else
- Fragment {{$title}} niet gevonden
- @endif
+ @if($podcast)
+ {{ $podcast->title }}
+ @elseif($isPodcast)
+ NH Gooi Podcast
+ @else
+ Fragment gemist
+ @endif
@endsection
@section('page_class')
@@ -18,14 +20,18 @@
- Home
- - Fragment gemist
+ @if($isPodcast)
+ - NH Gooi podcast
+ @else
+ - Fragment gemist
+ @endif
@if($podcast && $podcast->program)
- {{$podcast->program->name}}
@endif
- - Fragment
+ - {{ $podcast->title }}
@endsection
@@ -91,7 +97,6 @@
- {{$podcast->title}}
-
@@ -100,7 +105,7 @@
@if($podcast->program)
@endif
@@ -150,15 +155,15 @@
Meer fragmenten
+ class="box_header small flex-grow-1 active">Meer {{$isPodcast ? 'afleveringen' : 'fragmenten'}}
- @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])
- Meer fragmenten
+ Meer {{$isPodcast ? 'afleveringen' : 'fragmenten'}}
diff --git a/resources/views/podcastlist.blade.php b/resources/views/podcastlist.blade.php
index 4dadee90..4cd8e5f8 100644
--- a/resources/views/podcastlist.blade.php
+++ b/resources/views/podcastlist.blade.php
@@ -79,7 +79,8 @@
'class' => 'd-flex flex-column justify-content-end flex-grow-1'
],
'showAction' => true,
- 'podcasts' => array_slice($podcasts, 0, 8)])
+ 'podcasts' => array_slice($podcasts, 0, 8),
+ 'isPodcast' => $isPodcast])
@else
@@ -98,7 +99,7 @@
- @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])
diff --git a/resources/views/podcastseries.blade.php b/resources/views/podcastseries.blade.php
index a032fffe..582c69f8 100644
--- a/resources/views/podcastseries.blade.php
+++ b/resources/views/podcastseries.blade.php
@@ -1,7 +1,11 @@
@extends('layouts/full')
@section('title')
- Fragment gemist
+ @if(isset($program))
+ {{ $program->name }}
+ @else
+ NH Gooi Podcast
+ @endif
@endsection
@section('page_class')
@@ -12,14 +16,12 @@
- Home
- - Fragment gemist
-
+ - NH Gooi podcast
@if(isset($program))
- - {{$program->name}}
+ - {{$program->name}}
@endif
- - Fragmenten
@endsection
@@ -28,8 +30,7 @@
@if(isset($program))
-
- {{$program->name}}
+
@@ -43,12 +44,12 @@
- @include('partial/podcastdirectitems', ['podcasts' => array_slice($podcasts, 0, 2)])
+ @include('partial/podcastdirectitems', ['podcasts' => array_slice($podcasts, 0, 2), 'isPodcast' => $isPodcast])
@else
- Er zijn geen fragmenten beschikbaar.
+ Er zijn geen items beschikbaar.
@endif
@@ -62,7 +63,7 @@
- @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])
diff --git a/routes/web.php b/routes/web.php
index 994eb2ab..20a5ed6b 100644
--- a/routes/web.php
+++ b/routes/web.php
@@ -69,7 +69,7 @@ Route::get('/gemist/fragment/{id}/{title}', 'RadioController@podcast')->where(['
Route::get('/gemist/programma', 'RadioController@terugluisteren')->name('gemist.programma');
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/aflevering/{id}/{title}', 'PodcastController@podcast')->where(['id' => '\d+']);
Route::get('/podcast/zoeken/{query}', 'RadioController@searchpodcast')->name('gemist.zoeken');
{{$podcast->title}}
- @@ -100,7 +105,7 @@ @if($podcast->program) @endif
Meer fragmenten + class="box_header small flex-grow-1 active">Meer {{$isPodcast ? 'afleveringen' : 'fragmenten'}}
- Home
- -
- Fragment gemist -
- +
- NH Gooi podcast @if(isset($program)) -
- {{$program->name}}
- +
- {{$program->name}} @endif -
- Fragmenten
{{$program->name}}
+Er zijn geen fragmenten beschikbaar.
+Er zijn geen items beschikbaar.