Hide "is over" if Event-Title is Equal to Next-Event-Title

This commit is contained in:
MaZderMind 2015-07-16 23:32:44 +02:00 committed by MaZderMind
parent b53b9910cf
commit 86ab8c4cd4

View file

@ -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>