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>
<div class="nav navbar-form navbar-right button-wrapper"> <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())?>"> <a class="form-control btn btn-default" href="<?=h($feedback->getUrl())?>">
<span class="fa fa-bullhorn"></span> <span class="fa fa-bullhorn"></span>
</a> </a>
@ -18,9 +18,11 @@
<span class="fa fa-video-camera"></span> <span class="fa fa-video-camera"></span>
</a> </a>
<? endif ?> <? endif ?>
<a class="form-control btn btn-default" href="about/"> <? if(!$conference->isClosed()): ?>
<span class="fa fa-info"></span> <a class="form-control btn btn-default" href="about/">
</a> <span class="fa fa-info"></span>
</a>
<? endif ?>
</div> </div>
</div> </div>
</nav> </nav>