aboutsummaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
authorMaZderMind2015-07-16 23:32:44 +0200
committerMaZderMind2015-08-21 12:13:21 +0200
commit86ab8c4cd4ef98f1a796dcda7087676e80c09e76 (patch)
tree55405eb22c16aad7e060dfcdb6c140d05ec4cf96 /template
parentb53b9910cf7aa17c1bf36a56cad997a81f87c7dd (diff)
Hide "is over" if Event-Title is Equal to Next-Event-Title
Diffstat (limited to 'template')
-rw-r--r--template/closed.phtml4
1 files changed, 3 insertions, 1 deletions
diff --git a/template/closed.phtml b/template/closed.phtml
index 66d458d..577016e 100644
--- a/template/closed.phtml
+++ b/template/closed.phtml
@@ -1,5 +1,7 @@
<div class="container about">
- <h1><?=h($conference->getTitle())?> is over!</h1>
+ <? if($conference->getTitle() != $next['name']): ?>
+ <h1><?=h($conference->getTitle())?> is over!</h1>
+ <? endif ?>
<? if($next): ?>
<h2>See you soon at <?=h($next['name'])?></h2>