Fragment gemist bijna af

This commit is contained in:
2020-01-06 02:36:10 +01:00
parent 150d0179fc
commit ed1871ae68
6310 changed files with 727834 additions and 1 deletions

View File

@@ -0,0 +1,92 @@
@extends('page')
@section('title')
Nieuws | {{$news->title}}
@endsection
@section('content')
<article class="article-content" itemscope itemtype="http://schema.org/Article">
<div class="article-header">
<div class="article-meta clearfix">
<span class="news-pubdate" data-short-date="{{Formatter::fullDate($news->published, 'w d m y')}}, {{$news->published->format("H:i")}}" datetime="{{$news->published->format('c')}}">
{{Formatter::relativeDate($news->published)}}, {{$news->published->format("H:i")}}
</span>
</div>
</div>
<h1 class="article-title" itemprop="headline">{{$news->title}}</h1>
@if($news->images && count($news->images) > 0)
@if(!$news->images[0]->title) @php($news->images[0]->title = $news->title) @endif
<div class="mediabox">
<div class="big-images owl-carousel">
<div>
<div class="mediabox-image">
<img src="{{$news->images[0]->url}}" alt="{{strip_tags($news->images[0]->title)}}" title="{{strip_tags($news->images[0]->title)}}"/>
<span class="mediabox-image-title">{{$news->images[0]->title}}</span>
</div>
</div>
</div>
<div class="thumbs owl-carousel">
@if(count($news->images) > 1) @foreach($news->images as $image)
<div>
<img src="{{$image->url}}" alt="{{strip_tags($image->title)}}" title="{{strip_tags($image->title)}}" itemprop="image"/>
</div>
@endforeach @endif
</div>
</div>
</div>
@endif
<p class="intro">
<span><b>{{$news->region->title}}</b> - </span> {!!$news->content!!}
</p>
@if($news->source && $news->source->show)
<div class="post-source">
<p>Bron: {{$news->source->title}}</p>
</div>
@endif
@if($news->podcast)
<div class="left_content">
<h2>Fragment</h2>
<p>{{ Formatter::relativeDate($news->podcast->created) }} uitgezonden @if($news->podcast->program) in <a href="{{ url('radio/programma' . $news->podcast->program->url ) }}">{{ $news->podcast->program->name }}</a> @endif </p>
<p>
<audio controls>
<source src="{{ $url = url( $apiUrl . 'podcast/download/' . $news->podcast->url . "?auth=" . $news->podcast->auth )}}" type="audio/mpeg" />
</audio>
</p>
<p><a href="{{ url('/radio/gemist/fragment/' . $news->podcast->url) }}" class="btn btn-default">Meer over dit fragment</a></p>
</div>
@endif
<hr />
<div class="left_content">
<h2>Meer nieuws</h2>
<p>
<a href="{{ url('nieuws/regio/' . $news->region->slug) }}" title="Toon meer nieuws uit de regio {{$news->region->title}}" class="btn btn-primary">{{$news->region->title}}</a>
<a href="{{ url('nieuws/thema/' . $news->theme->slug) }}" title="Toon meer nieuws met thema {{$news->theme->title}}" class="btn btn-primary">{{$news->theme->title}}</a>
<!--
@if(is_array($news->keywords)) @foreach($news->keywords as $keyword)
<a href="nieuws/onderwerp/{{$keyword}}" class="btn btn-info" title="Zoek meer nieuwsberichten met het onderwerp '{{$keyword}}'">{{$keyword}}</a>
@endforeach @endif
-->
</p>
<div class="article-bottom">
<div class="row">
<div class="col-md-6 col-sm-12 pull-right">
<a href="/contact?correction=true" class="block-ctalink" rel="nofollow">Correctie melden <i class="icon-arrow-small"></i></a>
</div>
</div>
</div>
@endsection