aboutsummaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
authorMaZderMind2016-12-10 18:24:14 +0100
committerMaZderMind2016-12-10 18:26:34 +0100
commit751c58ebf7e8e6ea20b5f5116866f065e52ea1a2 (patch)
tree2c29f08a379f66d6773f528a06af5f1f37cbe49a /template
parentb137ccc18be2f8addf10b0db5257da8c3767dba9 (diff)
use close-view in allclosed view
Diffstat (limited to '')
-rw-r--r--template/allclosed.phtml37
1 files changed, 7 insertions, 30 deletions
diff --git a/template/allclosed.phtml b/template/allclosed.phtml
index 4d4ff38..e01aa3b 100644
--- a/template/allclosed.phtml
+++ b/template/allclosed.phtml
@@ -1,34 +1,11 @@
-<div class="container about">
- <? include("$assemblies/countdown.phtml") ?>
+<? if($last): ?>
- <? if($last): ?>
+ <? $conference = $last; include('closed.phtml'); ?>
- <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>
+<? else: ?>
- <? if($last['releases']): ?>
- Recordings will be released at <a href="<?=h($last['releases'])?>"><?=h($last['releases'])?></a>.
- <? endif ?>
+ <p>
+ You can watch most of our Recordings at <a href="https://media.ccc.de/">media.ccc.de</a>.
+ </p>
- <? 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>
-
- <? include("$assemblies/upcoming.phtml") ?>
-</div>
+<? endif ?>