Image at brettspill page

This commit is contained in:
Fredrik Lindberg Strupe 2016-08-31 18:34:45 +02:00
parent 4f1d3ee6b3
commit bc573a53c7

View File

@ -25,7 +25,11 @@ $nextEvent = $activity->getNextEventFrom(new DateTimeImmutable);
<article>
<h2><em><?= $nextEvent->getRelativeDate()?></em> Brettspillkveld</h2>
<h2><em><?= $nextEvent->getRelativeDate()?></em> Brettspillkveld
<?php if ($nextEvent->getImageURL()) { ?>
<img src="<?= $nextEvent->getImageURL() ?>">
<?php } ?>
</h2>
<ul class="subtext">
<li>Tid:
<strong>