diff options
author | MaZderMind | 2015-04-04 20:41:23 +0200 |
---|---|---|
committer | MaZderMind | 2015-04-04 20:41:23 +0200 |
commit | ad8179841aa5826696d4344756af771baf26af70 (patch) | |
tree | 4733d0ed3c9b3abaea10460f058a1d6dd754c2c7 /template | |
parent | 58f69e634e954fc9e2d3f767722ffbae32ee0047 (diff) |
Hide Navbar-Buttons in Closed-State
Diffstat (limited to 'template')
-rw-r--r-- | template/assemblies/header.phtml | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/template/assemblies/header.phtml b/template/assemblies/header.phtml index 7572b08..cdffea7 100644 --- a/template/assemblies/header.phtml +++ b/template/assemblies/header.phtml @@ -8,7 +8,7 @@ </div> <div class="nav navbar-form navbar-right button-wrapper"> - <? if($feedback->isEnabled()): ?> + <? if(!$conference->isClosed() && $feedback->isEnabled()): ?> <a class="form-control btn btn-default" href="<?=h($feedback->getUrl())?>"> <span class="fa fa-bullhorn"></span> </a> @@ -18,9 +18,11 @@ <span class="fa fa-video-camera"></span> </a> <? endif ?> - <a class="form-control btn btn-default" href="about/"> - <span class="fa fa-info"></span> - </a> + <? if(!$conference->isClosed()): ?> + <a class="form-control btn btn-default" href="about/"> + <span class="fa fa-info"></span> + </a> + <? endif ?> </div> </div> </nav> |