aboutsummaryrefslogtreecommitdiff
path: root/template/allclosed.phtml
diff options
context:
space:
mode:
authorMaZderMind2015-12-30 23:08:19 +0100
committerMaZderMind2015-12-30 23:08:19 +0100
commit90fa5e229c8e25b0371cfd916f3463f9ea50d881 (patch)
treefe97792e31a04825bd8d443e26ea77baac2bb537 /template/allclosed.phtml
parent2b934d63f318db93d5acbd9c6782c130a0f42f54 (diff)
show last conference & relive on startpage
Diffstat (limited to '')
-rw-r--r--template/allclosed.phtml29
1 files changed, 26 insertions, 3 deletions
diff --git a/template/allclosed.phtml b/template/allclosed.phtml
index f999ddc..4d4ff38 100644
--- a/template/allclosed.phtml
+++ b/template/allclosed.phtml
@@ -1,9 +1,32 @@
<div class="container about">
<? include("$assemblies/countdown.phtml") ?>
- <p>
- You can watch most of our Recordings at <a href="<?=h($conference->getReleasesUrl())?>"><?=h($conference->getReleasesUrl())?></a>.
- </p>
+ <? if($last): ?>
+
+ <div class="well">
+ <? // FIXME when $last would be a Conference object, this code could be shared with clodes.phtml ?>
+ <h1><?=h($last['title'])?> is over!</h1>
+
+ <? if($last['releases']): ?>
+ Recordings will be released at <a href="<?=h($last['releases'])?>"><?=h($last['releases'])?></a>.
+ <? endif ?>
+
+ <? if($last['relive']): ?>
+ <? if($last['releases']): ?>
+ Until all recordings are released, <a href="<?=h($last['relive'])?>">ReLive</a> remains available.
+ <? else: ?>
+ You can still watch stream dumps <a href="<?=h($last['relive'])?>">here</a>.
+ <? endif ?>
+ <? endif ?>
+ </div>
+
+ <? else: ?>
+
+ <p>
+ You can watch most of our Recordings at <a href="<?=h($conference->getReleasesUrl())?>"><?=h($conference->getReleasesUrl())?></a>.
+ </p>
+
+ <? endif ?>
<br><br><br>