aboutsummaryrefslogtreecommitdiff
path: root/template/assemblies/header.phtml
diff options
context:
space:
mode:
authorFlorian Larysch2015-09-02 12:56:32 +0200
committerFlorian Larysch2015-09-02 14:31:39 +0200
commit7a5c8ff018936ed7328042c88a2edae3c29d91be (patch)
tree23efc9fdb4e3c8fd1c44cc49a3f30be0a6ed1987 /template/assemblies/header.phtml
parent502371650e4e1fe99ec382104e2eba945925a459 (diff)
Automatically open/close conference based on time.
Toggle the 'closed' bit based on the current time, rather than manually setting it in the config. This patch also adds a distinction between the time before the conference and after: Different pages will be displayed as to not confuse the user.
Diffstat (limited to 'template/assemblies/header.phtml')
-rw-r--r--template/assemblies/header.phtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/template/assemblies/header.phtml b/template/assemblies/header.phtml
index 68f4b6d..f57054c 100644
--- a/template/assemblies/header.phtml
+++ b/template/assemblies/header.phtml
@@ -15,7 +15,7 @@
</a>
<? endif ?>
- <? if(!$conference->isClosed() && $feedback->isEnabled()): ?>
+ <? if(!$conference->hasEnded() && $feedback->isEnabled()): ?>
<a class="form-control btn btn-default" href="<?=h($feedback->getUrl())?>">
<span class="fa fa-bullhorn"></span>
</a>