Merge pull request #3668 from annando/frio-register

Only show register link when "register" is allowed
This commit is contained in:
Tobias Diekershoff 2017-08-29 08:02:18 +02:00 committed by GitHub
commit c948e4cdc3

View file

@ -238,7 +238,7 @@
</div> </div>
<div class="pull-right"> <div class="pull-right">
<ul class="nav navbar-nav navbar-right"> <ul class="nav navbar-nav navbar-right">
<li><a href="register" data-toggle="tooltip" title="{{$nav.register.3}}"><i class="fa fa-street-view fa-fw"></i></a></li> {{if $nav.register}}<li><a href="register" data-toggle="tooltip" title="{{$nav.register.3}}"><i class="fa fa-street-view fa-fw"></i></a></li>{{/if}}
<li> <li>
<a href="login?mode=none" id="nav-login" <a href="login?mode=none" id="nav-login"
data-toggle="tooltip" title="{{$nav.login.3}}"> data-toggle="tooltip" title="{{$nav.login.3}}">