- Add package.json dependencies: jquery, jquery-ui, moment, daterangepicker, wavesurfer.js, air-datepicker - Create scripts/setup-vendor.js to copy npm packages to public/assets/vendor - Update view templates to use vendor paths instead of old /js/ or CDN URLs - Clean up legacy commented-out scripts in master layout
9 lines
396 B
PHP
9 lines
396 B
PHP
<h2 title="De meest bekeken nieuwsberichten van de afgelopen 60 dagen">Populair nieuws</h2>
|
|
@foreach($news as $newsItem)
|
|
<p class="details">
|
|
<span class="fa fa-angle-right"></span>
|
|
<a href="{{url($newsItem->url)}}">{{$newsItem->title}}</a><br />
|
|
<time class="post-date">{{$newsItem->region->title}}, {{Formatter::fullDate($newsItem->published, 'd m y?')}}</span>
|
|
</p>
|
|
@endforeach
|