Fragment gemist bijna af
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
<?php ($date = null); ?><?php ($now = new \DateTime("now")); ?>
|
||||
<?php $__currentLoopData = $schedule; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
|
||||
<?php if(($formattedDate = Formatter::fullDate($item['starttime'], 'W d m')) != $date): ?>
|
||||
<?php ($date = $formattedDate); ?>
|
||||
<?php if($date != null): ?> </table> <?php endif; ?>
|
||||
<h2><?php echo e($formattedDate); ?></h2>
|
||||
<table class="table table-hover">
|
||||
<?php endif; ?>
|
||||
<?php ($isCurrent = ($now >= $item['starttime']) && ($now <= $item['endtime'])); ?>
|
||||
<?php ($class =( $item['program']->priority < 2 ? 'bg-primary'
|
||||
:( $item['program']->nonstop || $item['program']->rerun ? 'text-muted'
|
||||
:( $isCurrent ? 'bg-info active text-primary'
|
||||
:( ''
|
||||
))))); ?>
|
||||
<tr <?php if($class): ?> class="<?php echo e($class); ?>" <?php endif; ?>>
|
||||
<td class="time"><p><?php echo e($item['starttime']->format('H:i')); ?> – <?php echo e($item['endtime']->format('H:i')); ?> uur</p></td>
|
||||
<td class="title">
|
||||
<p><a title="<?php echo e($item['program']->name); ?>" href="programma<?php echo e($item['program']->url); ?>"><?php echo e($item['program']->name); ?>
|
||||
|
||||
<?php if($isCurrent): ?> <span class="bg-primary current-marker">Nu op NH Gooi</span> <?php endif; ?>
|
||||
</a><p>
|
||||
<p><?php echo e(Formatter::excerpt(strip_tags($item['program']->description), 200)); ?></p>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
|
||||
</table>
|
||||
|
||||
Reference in New Issue
Block a user