Assimilate hendelser into the new standard
This commit is contained in:
parent
ebe3ce0e1e
commit
5412414ce1
|
@ -5,21 +5,22 @@ $translation = ['I dag', 'I morgen', 'Denne uka', 'Neste uke', 'Denne måneden',
|
|||
?>
|
||||
<!DOCTYPE html>
|
||||
<html lang="no">
|
||||
<title>Hendelsesverkstedet</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
|
||||
<link rel="stylesheet" href="../css/normalize.css">
|
||||
<link rel="stylesheet" href="../css/style.css">
|
||||
<link rel="stylesheet" href="../css/events.css">
|
||||
<head>
|
||||
<title>Hendelsesverkstedet</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
|
||||
<link rel="stylesheet" href="../css/normalize.css">
|
||||
<link rel="stylesheet" href="../css/style.css">
|
||||
<link rel="stylesheet" href="../css/events.css">
|
||||
</head>
|
||||
|
||||
<header>Hendelses­verk­stedet</header>
|
||||
<body>
|
||||
<main>
|
||||
<h2>Hendelser</h2>
|
||||
|
||||
<main>
|
||||
<article>
|
||||
|
||||
<?php
|
||||
$description_paragraphs = 1; //description length
|
||||
foreach($agenda->getNextDays() as $period => $events) {
|
||||
<?php
|
||||
$description_paragraphs = 1; //description length
|
||||
foreach($agenda->getNextDays() as $period => $events) {
|
||||
if ($events) { ?>
|
||||
<h2><?= $translation[$period] ?></h2>
|
||||
<ul class="events">
|
||||
|
@ -38,18 +39,17 @@ foreach($agenda->getNextDays() as $period => $events) {
|
|||
<p><?= implode($description, "<br>") ?></p>
|
||||
|
||||
<ul class="subtext">
|
||||
<li>Tid: <strong><?= Agenda::getFormattedDate($event->getStart()) ?></strong>
|
||||
<li>Sted: <strong><?= $event->getLocation() ?></strong>
|
||||
<li>Arrangør: <strong><?= $event->getOrganiser() ?></strong>
|
||||
<li>Tid: <strong><?= Agenda::getFormattedDate($event->getStart()) ?></strong></li>
|
||||
<li>Sted: <strong><?= $event->getLocation() ?></strong></li>
|
||||
<li>Arrangør: <strong><?= $event->getOrganiser() ?></strong></li>
|
||||
</ul>
|
||||
|
||||
</li>
|
||||
<?php } ?>
|
||||
</ul>
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
</article>
|
||||
|
||||
</main>
|
||||
<?php } ?>
|
||||
</main>
|
||||
</body>
|
||||
|
||||
<nav>
|
||||
<?= navbar(1, 'hendelser'); ?>
|
||||
|
|
Loading…
Reference in New Issue