diff options
author | MaZderMind | 2015-07-16 23:32:44 +0200 |
---|---|---|
committer | MaZderMind | 2015-08-21 12:13:21 +0200 |
commit | 86ab8c4cd4ef98f1a796dcda7087676e80c09e76 (patch) | |
tree | 55405eb22c16aad7e060dfcdb6c140d05ec4cf96 /template | |
parent | b53b9910cf7aa17c1bf36a56cad997a81f87c7dd (diff) |
Hide "is over" if Event-Title is Equal to Next-Event-Title
Diffstat (limited to 'template')
-rw-r--r-- | template/closed.phtml | 4 |
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> |