Make today activities green.

This commit is contained in:
Yorin Anne De Jong 2016-08-27 00:14:12 +02:00
parent b8f71db554
commit 399d54b1c3

View File

@ -36,7 +36,9 @@ $agenda = new \pvv\side\Agenda([
<?php if ($event->getImageURL()) { ?>
<img src="<?= $event->getImageURL() ?>">
<?php } ?>
<?php if (\pvv\side\Agenda::isToday($event->getStart())) { ?><strong><?php } ?>
<em><?= $event->getRelativeDate() ?></em>
<?php if (\pvv\side\Agenda::isToday($event->getStart())) { ?></strong><?php } ?>
<a href="<?= $event->getURL() ?>"><?= $event->getName() ?></a>
</h2>
<ul class="subtext">