aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-10-12 15:54:01 +0200
committerMario Vavti <mario@mariovavti.com>2017-10-12 15:54:01 +0200
commitc89b2ac3b73834020b34b8926d9b5980c402652e (patch)
tree51ff07b6f0e1e5194ef6888525b1bd8551cf44cc
parent56a675f713f3e971b1c9ccb60ab818f583dfc29e (diff)
downloadvolse-hubzilla-c89b2ac3b73834020b34b8926d9b5980c402652e.tar.gz
volse-hubzilla-c89b2ac3b73834020b34b8926d9b5980c402652e.tar.bz2
volse-hubzilla-c89b2ac3b73834020b34b8926d9b5980c402652e.zip
missing login and register links
-rwxr-xr-xview/tpl/navbar_default.tpl18
1 files changed, 17 insertions, 1 deletions
diff --git a/view/tpl/navbar_default.tpl b/view/tpl/navbar_default.tpl
index cf7235b14..6262b7045 100755
--- a/view/tpl/navbar_default.tpl
+++ b/view/tpl/navbar_default.tpl
@@ -76,7 +76,23 @@
</button>
</div>
<div class="collapse navbar-collapse" id="navbar-collapse-1">
- <div class="mr-auto d-none d-xl-flex"></div>
+ <ul class="navbar-nav mr-auto">
+ {{if $nav.login && !$userinfo}}
+ <li class="nav-item d-none d-xl-flex">
+ <a class="nav-link" href="#" title="{{$nav.loginmenu.1.3}}" id="{{$nav.loginmenu.1.4}}" data-toggle="modal" data-target="#nav-login">{{$nav.loginmenu.1.1}}</a>
+ </li>
+ {{/if}}
+ {{if $nav.register}}
+ <li class="nav-item {{$nav.register.2}} d-none d-xl-flex">
+ <a class="nav-link" href="{{$nav.register.0}}" title="{{$nav.register.3}}" id="{{$nav.register.4}}">{{$nav.register.1}}</a>
+ </li>
+ {{/if}}
+ {{if $nav.alogout}}
+ <li class="nav-item {{$nav.alogout.2}} d-none d-xl-flex">
+ <a class="nav-link" href="{{$nav.alogout.0}}" title="{{$nav.alogout.3}}" id="{{$nav.alogout.4}}">{{$nav.alogout.1}}</a>
+ </li>
+ {{/if}}
+ </ul>
<div id="banner" class="navbar-text d-none d-xl-flex">{{$banner}}</div>