aboutsummaryrefslogtreecommitdiff
path: root/template/assemblies/upcoming.phtml
diff options
context:
space:
mode:
authorVOC2015-11-13 19:48:45 +0100
committerVOC2015-11-13 19:48:45 +0100
commit92f4fa13749566f6c4378f2c9e80774e8320b825 (patch)
treef17c6da85da6edba9c7be10138687518ee534d50 /template/assemblies/upcoming.phtml
parent32fd126b3fa937389efd1457e9d05daff9f3b347 (diff)
parent29af764323dc474c14e05985eeabd3a06ef19c86 (diff)
Merge branch 'mandators'
Diffstat (limited to '')
-rw-r--r--template/assemblies/upcoming.phtml21
1 files changed, 21 insertions, 0 deletions
diff --git a/template/assemblies/upcoming.phtml b/template/assemblies/upcoming.phtml
new file mode 100644
index 0000000..7d9ffac
--- /dev/null
+++ b/template/assemblies/upcoming.phtml
@@ -0,0 +1,21 @@
+<? foreach($events as $event): ?>
+ <div class="col-xs-10 col-xs-offset-1 col-md-6 col-md-offset-3">
+
+ <div class="panel panel-default">
+ <div class="panel-heading">
+ <? if($event['description']): ?>
+ <a href="<?=h($event['description'])?>">
+ <?=h($event['name'])?>
+ </a>
+ <? else: ?>
+ <?=h($event['name'])?>
+ <? endif ?>
+ </div>
+ <div class="panel-body">
+ <?=h($event['location'])?><br />
+ <?=h($event['start_date'])?> – <?=h($event['end_date'])?>
+ </div>
+ </div>
+
+ </div>
+<? endforeach ?>