]> git.mxchange.org Git - friendica.git/commitdiff
Only show register link when "register" is allowed
authorMichael <heluecht@pirati.ca>
Tue, 29 Aug 2017 05:12:49 +0000 (05:12 +0000)
committerMichael <heluecht@pirati.ca>
Tue, 29 Aug 2017 05:12:49 +0000 (05:12 +0000)
view/theme/frio/templates/nav.tpl

index 69eef7a6a3c93676dd19d72437ad791432ff3798..3a0da9c5f3157a80ec1fa8015a927b105a6c4d01 100644 (file)
                </div>
                <div class="pull-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>
                                        <a href="login?mode=none" id="nav-login"
                                                data-toggle="tooltip" title="{{$nav.login.3}}">