Fix aktiviter in mobile mode

This commit is contained in:
2018-08-12 03:54:39 +02:00
parent 79e413d194
commit 31a7470b37
6 changed files with 48 additions and 20 deletions

View File

@@ -44,9 +44,6 @@ $day = (isset($_GET['day']))
?>
<article>
<h2>
<?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 } ?>
@@ -55,6 +52,9 @@ $day = (isset($_GET['day']))
<?php } else { ?>
<?= $event->getName() ?>
<?php } ?>
<?php if ($event->getImageURL()) { ?>
<img src="<?= $event->getImageURL() ?>">
<?php } ?>
</h2>
<ul class="subtext">
<li>Tid: <strong><?= Agenda::getFormattedDate($event->getStart()) ?></strong></li>