Layoutwijzigingen, programma gemist
This commit is contained in:
@@ -43,7 +43,7 @@
|
||||
@if($event->podcast->program) in <a href="{{ route('programma') . $event->podcast->program->url }}">{{ $event->podcast->program->name }}</a> @endif
|
||||
</li>
|
||||
<li class="detail category">
|
||||
<a href="{{ route('gemist.details') . $event->podcast->url }}">
|
||||
<a href="{{ route('gemist.fragment') . $event->podcast->url }}">
|
||||
<span class="fa "></span>
|
||||
<span>Meer over dit fragment</span>
|
||||
</a>
|
||||
|
||||
@@ -164,8 +164,10 @@
|
||||
<div class="column column_1_3">
|
||||
@include('widgets.banners')
|
||||
|
||||
{{--
|
||||
<h4 class="box_header"><span class="fa fa-fire"></span> Meest gelezen</h4>
|
||||
@include('widgets.populairnieuws')
|
||||
--}}
|
||||
|
||||
@include('widgets.nustraks')
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
<?php if(isset($metadata)) {
|
||||
$metadata->set('url', url()->current())
|
||||
->prepend('image', $imgBase)
|
||||
->prepend('audio', route('gemist.details'))
|
||||
->prepend('audio', route('gemist.fragment'))
|
||||
->append('title', ' | NH Gooi')
|
||||
->metaTags();
|
||||
} ?>
|
||||
|
||||
@@ -217,7 +217,6 @@
|
||||
<div class="header clearfix">
|
||||
<div class="logo">
|
||||
<a href="{{url('/')}}"><img src="/images/logo.png" class="ri" /></a>
|
||||
<h4>Mediapartner van <a href="https://www.nhnieuws.nl/nhgooi" target="_blank">NH</a></h4>
|
||||
</div>
|
||||
|
||||
<div class="now-playing-header">
|
||||
@@ -261,6 +260,7 @@
|
||||
<!-- Content -->
|
||||
|
||||
<div class="page">
|
||||
<a name="top"></a>
|
||||
@yield('page')
|
||||
</div><!--/.page-->
|
||||
|
||||
@@ -273,7 +273,7 @@
|
||||
<div class="column column_1_3">
|
||||
<h4 class="box_header">NH Gooi</h4>
|
||||
<p class="padding_top_bottom_25">
|
||||
NH Gooi is de streekomroep voor Hilversum, Huizen, Blaricum, Eemnes en Laren.
|
||||
NH Gooi is de streekomroep voor het Gooi in samenwerking met NH Media.
|
||||
NH Gooi hoor je in heel Gooi en Eemland op 92.0 FM, 105.1 FM en 106.2 FM.
|
||||
</p>
|
||||
<div class="row">
|
||||
|
||||
@@ -55,7 +55,7 @@
|
||||
@if($news->podcast->program) in <a href="{{ route('programma') . $news->podcast->program->url }}">{{ $news->podcast->program->name }}</a> @endif
|
||||
</li>
|
||||
<li class="detail category">
|
||||
<a href="{{ route('gemist.details') . $news->podcast->url }}">
|
||||
<a href="{{ route('gemist.fragment') . $news->podcast->url }}">
|
||||
<span class="fa "></span>
|
||||
<span>Meer over dit fragment</span>
|
||||
</a>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
@if($i > 0) </ul><!--/.row--> @endif
|
||||
<ul class='blog row grid'>
|
||||
@endif
|
||||
<?php $url = route('gemist.details') . $podcast->url; ?>
|
||||
<?php $url = route('gemist.fragment') . $podcast->url; ?>
|
||||
<li class="post column column_1_2">
|
||||
<div class="post_content">
|
||||
<h2><a href="{{$url}}" title="{{$podcast->title}}">{!!$podcast->titleWithoutProgram()!!}</a></h2>
|
||||
@@ -27,7 +27,7 @@
|
||||
</p>
|
||||
@endif
|
||||
<p>{!! Formatter::excerpt($podcast->content, 200) !!}</p>
|
||||
<a class="read_more" href="{{route('gemist.details') . $podcast->url}}" title="Luister fragment"><span class="arrow"></span><span>Luister fragment</span></a>
|
||||
<a class="read_more" href="{{route('gemist.fragment') . $podcast->url}}" title="Luister fragment"><span class="arrow"></span><span>Luister fragment</span></a>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
|
||||
@@ -183,7 +183,7 @@ $(".vertical_carousel").each(function() {
|
||||
<li class="post">
|
||||
<div class="post_content">
|
||||
<h5>
|
||||
<a href="{{ route('gemist.details') . $relatedItem->url }}" title="{{$relatedItem->title}}">
|
||||
<a href="{{ route('gemist.fragment') . $relatedItem->url }}" title="{{$relatedItem->title}}">
|
||||
<span class="fa fa-chevron-circle-right"></span>
|
||||
{{$relatedItem->titleWithoutProgram()}}
|
||||
</a>
|
||||
|
||||
@@ -5,18 +5,35 @@
|
||||
@endsection
|
||||
|
||||
@section('breadcrumb')
|
||||
<ul class="bread_crumb">
|
||||
@if(isset($program))
|
||||
<li><a title="Fragment gemist" href="{{url('radio/gemist')}}">Fragment gemist</a></li>
|
||||
<li class="separator icon_small_arrow right_gray"> </li>
|
||||
<li>{{$program->name}}</li>
|
||||
@endif
|
||||
</ul>
|
||||
<ul class="bread_crumb">
|
||||
@if(isset($program))
|
||||
<li><a title="Fragment gemist" href="{{url('radio/gemist')}}">Fragment gemist</a></li>
|
||||
<li class="separator icon_small_arrow right_gray"> </li>
|
||||
<li>{{$program->name}}</li>
|
||||
@endif
|
||||
</ul>
|
||||
@endsection
|
||||
|
||||
@section('content')
|
||||
@parent
|
||||
|
||||
<div id="gemist_tabs" class="no_scroll clearfix">
|
||||
<ul class="tabs_navigation clearfix">
|
||||
<li>
|
||||
<a href="{{route('gemist.programma')}}" title="Programma gemist">
|
||||
Programma gemist
|
||||
</a>
|
||||
<span></span>
|
||||
</li>
|
||||
<li class="ui-tabs-active col_1_2"">
|
||||
<a href="{{route('gemist.fragment')}}" title="Fragment gemist">
|
||||
Fragment gemist
|
||||
</a>
|
||||
<span></span>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@if(isset($program))
|
||||
<h2>{{$program->name}}</h2>
|
||||
<p class="align-right">
|
||||
@@ -24,15 +41,15 @@
|
||||
<a href="{{route('programma') . $program->url}}" title="{{$program->name}}" class="btn btn-info">Programmainfo</a>
|
||||
</p>
|
||||
@else
|
||||
<p>Hele uitzendingen kunt u binnen twee weken terugluisteren door het betreffende programma op te zoeken via de <a href="{{route('radio.gids')}}">programmagids</a>.
|
||||
<p>Hele uitzendingen kunt u binnen twee weken terugluisteren via <a href="{{route('gemist.programma')}}">programma gemist</a>.
|
||||
@endif
|
||||
|
||||
@if($podcasts)
|
||||
|
||||
<div class="page_layout clearfix">
|
||||
<div class="row grid" id="items">
|
||||
@include('partial.podcastitems', ['podcasts' => $podcasts])
|
||||
</div><!--/.row-->
|
||||
<div class="row grid" id="items">
|
||||
@include('partial.podcastitems', ['podcasts' => $podcasts])
|
||||
</div><!--/.row-->
|
||||
</div>
|
||||
|
||||
<div id="loading" style="display: none">
|
||||
@@ -83,3 +100,10 @@
|
||||
|
||||
@endsection
|
||||
|
||||
@push('styles')
|
||||
<style>
|
||||
#gemist_tabs li {
|
||||
width: 50%;
|
||||
}
|
||||
</style>
|
||||
@endpush
|
||||
|
||||
84
website/resources/views/programlist.blade.php
Normal file
84
website/resources/views/programlist.blade.php
Normal file
@@ -0,0 +1,84 @@
|
||||
@extends('layouts/sidebar')
|
||||
|
||||
@section('title')
|
||||
Programma gemist
|
||||
@endsection
|
||||
|
||||
@section('breadcrumb')
|
||||
<ul class="bread_crumb">
|
||||
@if(isset($program))
|
||||
<li><a title="Programma gemist" href="{{route('gemist.programma')}}">Programma gemist</a></li>
|
||||
<li class="separator icon_small_arrow right_gray"> </li>
|
||||
<li>{{$program->name}}</li>
|
||||
@endif
|
||||
</ul>
|
||||
@endsection
|
||||
|
||||
@section('content')
|
||||
@parent
|
||||
|
||||
<div id="gemist_tabs" class="no_scroll clearfix">
|
||||
<ul class="tabs_navigation clearfix">
|
||||
<li class="ui-tabs-active">
|
||||
<a href="{{route('gemist.programma')}}" title="Programma gemist">
|
||||
Programma gemist
|
||||
</a>
|
||||
<span></span>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{{route('gemist.fragment')}}" title="Fragment gemist">
|
||||
Fragment gemist
|
||||
</a>
|
||||
<span></span>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<p>U kunt programma's terugluisteren tot twee weken na uitzending. Items blijven onbeperkt beschikbaar via <a href="{{route('gemist.fragment')}}">fragment gemist</a>.</p>
|
||||
|
||||
<div class="page_layout clearfix">
|
||||
<div class="row grid" id="items">
|
||||
|
||||
@php($i = 0)
|
||||
@foreach($programs as $program)
|
||||
@if($i % 2 == 0)
|
||||
@if($i > 0) </ul><!--/.row--> @endif
|
||||
<ul class='blog row grid'>
|
||||
@endif
|
||||
<?php $url = route('programma') . $program->program->url; ?>
|
||||
<?php $duration = $program->end->diff($program->start)->h; ?>
|
||||
<li class="post column column_1_2">
|
||||
<div class="post_content">
|
||||
<h2><a href="{{$url}}" title="{{$program->program->name}}">{!!$program->program->name!!}</a></h2>
|
||||
<ul class="post_details" style="margin-top: 0;">
|
||||
<li class="date">
|
||||
{{ Formatter::relativeDate($program->start) }}
|
||||
van {{ $program->start->format('H:i') }} uur tot {{ $program->end->format('H:i') }} uur.
|
||||
</li>
|
||||
</ul>
|
||||
<a href="{{route('luister.programma') . '/' . $program->start->format('Y/m/d/H') . '/' . $duration}}" class="action_button player"><span class="fa fa-play"></span> <span>Luister terug</span></a>
|
||||
<a href="{{route('programma') . $program->program->url}}" class="action_button"><span class="fa fa-question"></span> <span>Meer informatie</span></a>
|
||||
<div class="clearfix"></div>
|
||||
<p>{!! Formatter::excerpt($program->program->description, 200) !!}</p>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
@php($i++)
|
||||
@endforeach
|
||||
|
||||
@if($i)
|
||||
</ul><!--/.row-->
|
||||
@endif
|
||||
|
||||
</div><!--/.row-->
|
||||
</div>
|
||||
|
||||
@endsection
|
||||
|
||||
@push('styles')
|
||||
<style>
|
||||
#gemist_tabs li {
|
||||
width: 50%;
|
||||
}
|
||||
</style>
|
||||
@endpush
|
||||
@@ -6,7 +6,7 @@
|
||||
</a>
|
||||
<div class="post_content">
|
||||
<h5>
|
||||
<a href="{{route('gemist.details') . $podcast->url}}" title="{{$podcast->title}}">{{$podcast->titleWithoutProgram()}}</a>
|
||||
<a href="{{route('gemist.fragment') . $podcast->url}}" title="{{$podcast->title}}">{{$podcast->titleWithoutProgram()}}</a>
|
||||
</h5>
|
||||
<ul class="post_details simple">
|
||||
@if($podcast->program)
|
||||
|
||||
@@ -4,7 +4,8 @@
|
||||
"Luister live" => "/luister/live",
|
||||
"Regionieuws" => "/luister/regionieuws",
|
||||
"Programmagids" => "/gids",
|
||||
"Fragment gemist" => "/gemist",
|
||||
"Programma gemist" => "/gemist/programma",
|
||||
"Fragment gemist" => "/gemist/fragment",
|
||||
"Zondagsdienst" => "/kerkdienst"),
|
||||
"TV" => array(
|
||||
"Kijk live" => "/kijk/live"),
|
||||
@@ -13,8 +14,8 @@
|
||||
"" => "/contact",
|
||||
"Contact" => "/contact",
|
||||
"Adverteren?" => "/adverteren",
|
||||
"NH Nieuws (mediapartner)" => "https://nhnieuws.nl/nhgooi"),
|
||||
);
|
||||
),
|
||||
"NH Nieuws" => "https://nhnieuws.nl");
|
||||
?>
|
||||
<?php
|
||||
function isActive($link, $checksubmenus) {
|
||||
@@ -120,11 +121,11 @@ function buildMenu($menu, $ismobile) {
|
||||
@foreach($podcasts as $item)
|
||||
<li class="post">
|
||||
@if($item->image)
|
||||
<a href="{{route('gemist.details') . $item->url}}" title="{{$item->title}}">
|
||||
<a href="{{route('gemist.fragment') . $item->url}}" title="{{$item->title}}">
|
||||
<img src='{{$imgBase . $item->image->url}}' alt='{{$item->title}}'>
|
||||
</a>
|
||||
@endif
|
||||
<h5><a href="{{route('gemist.details') . $item->url}}" title="{{$item->title}}">{{$item->title}}</a></h5>
|
||||
<h5><a href="{{route('gemist.fragment') . $item->url}}" title="{{$item->title}}">{{$item->title}}</a></h5>
|
||||
<ul class="post_details simple">
|
||||
@if($item->program)
|
||||
<li class="category">{{$item->program->name}}</li>
|
||||
|
||||
Reference in New Issue
Block a user