Hide Navbar-Buttons in Closed-State

This commit is contained in:
MaZderMind 2015-04-04 20:41:23 +02:00
parent 58f69e634e
commit ad8179841a

View file

@ -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 ?>
<? if(!$conference->isClosed()): ?>
<a class="form-control btn btn-default" href="about/">
<span class="fa fa-info"></span>
</a>
<? endif ?>
</div>
</div>
</nav>