Files
nhgooi.nl/resources/views/podcastlist.blade.php
2024-12-16 20:27:47 +01:00

119 lines
4.9 KiB
PHP

@extends('layouts/full')
@section('title')
Fragment gemist
@endsection
@section('page_class')
post_container
@endsection
@section('breadcrumb')
@if(isset($program))
<ul class="bread_crumb">
<li><a title="Home" href="/">Home</a></li>
<li class="separator"><i class="fa-solid fa-chevron-right"></i></li>
<li><a title="Fragment gemist" href="{{url('gemist.fragment')}}">Fragment gemist</a></li>
<li class="separator"><i class="fa-solid fa-chevron-right"></i></li>
<li>{{$program->name}}</li>
</ul>
@else
<ul class="bread_crumb">
<li><a title="Home" href="/">Home</a></li>
<li class="separator"><i class="fa-solid fa-chevron-right"></i></li>
<li>Fragment gemist</li>
</ul>
@endif
@endsection
@section('content')
<div class="">
<div class="row news_post post_container">
<div class="col-12 col-md content_container">
<div id="gemist_tabs" class="no_scroll clearfix">
<div class="tabs fit_content">
<h4 class="box_header">
<a href="{{route('gemist.programma')}}" title="Programma gemist">
<span>Programma gemist</span>
</a>
</h4>
<h4 class="box_header active">
<a href="{{route('gemist.fragment')}}" title="Fragment gemist">
<span>Fragment gemist</span>
</a>
</h4>
</div>
</div>
@if(isset($program))
<h2 class="page_title2">{{$program->name}}</h2>
<p class="align-right">
<a href="{{route('gemist')}}" title="Alle programma's" class="btn btn-info">&larr; Toon
alles</a>
<a href="{{route('programma') . $program->url}}" title="{{$program->name}}"
class="btn btn-info">Programmainfo</a>
</p>
@else
<p class="page_body">Hele uitzendingen kunt u binnen twee weken terugluisteren via <a
href="{{route('gemist.programma')}}">programma gemist</a>.<br/><br/>
@endif
@if(isset($podcasts))
<div class="clearfix podcast_items">
@include('partial/podcastitems', [
'id' => null,
'li' => [
'class' => 'col-12 col-md-6'
],
'content' => [
'class' => 'box full_width flex-column d-flex',
'style' => 'height: 300px'
],
'ul' => [
'class' => 'row overview'
],
'body' => [
'show' => true,
'class' => 'clipText'
],
'actionButton' => [
'class' => 'd-flex flex-column justify-content-end flex-grow-1'
],
'showAction' => true,
'podcasts' => array_slice($podcasts, 0, 8),
'isPodcast' => $isPodcast])
</div>
@else
<p class="page_body">Er zijn geen fragmenten beschikbaar.</p>
@endif
</div>
<div class="col-12 col-md-auto sidebar">
@if ((isset($podcasts)))
<div data-tabs>
<div class="tabs">
<h4 data-tab-content-id="tab_more_fragmenten"
class="box_header small flex-grow-1 active"><span>Meer fragmenten</span>
</h4>
</div>
<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), 'isPodcast' => $isPodcast])
<a class="btn auto_width" id="meer-nieuws-more-podcast" href="#"
data-loadmorenews='{"container":["#items-podcasts"]}'>
<span class="fas fa-spinner fa-spin" id="loading"></span>
Meer fragmenten
</a>
</div>
</div>
@endif
@include('widgets.banner_sidebar')
</div>
</div>
</div>
@endsection