Image at brettspill page

This commit is contained in:
Fredrik Lindberg Strupe 2016-08-31 18:34:45 +02:00
parent 4f1d3ee6b3
commit bc573a53c7
1 changed files with 5 additions and 1 deletions

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>