add info to ussrwin navbar for unlogged users

This commit is contained in:
ussr.win 2018-11-07 00:37:32 +01:00
parent 2ba9d19413
commit 01f4628e43
1 changed files with 3 additions and 0 deletions

View File

@ -102,6 +102,9 @@
<div class="collapse navbar-collapse" id="navbar-collapse-1"> <div class="collapse navbar-collapse" id="navbar-collapse-1">
<ul class="navbar-nav mr-auto"> <ul class="navbar-nav mr-auto">
{{if $nav.login && !$userinfo}} {{if $nav.login && !$userinfo}}
<li class="nav-item">
<a href="siteinfo" class="nav-link{{if (substr($url,17,8)=="siteinfo")}} active{{/if}}" title="{{t('About this site')}}"><i class="fa fa-fw fa-info"></i></a>
</li>
<li class="nav-item d-lg-flex"> <li class="nav-item d-lg-flex">
{{if $nav.loginmenu.1.4}} {{if $nav.loginmenu.1.4}}
<a class="nav-link" href="#" title="{{$nav.loginmenu.1.3}}" id="{{$nav.loginmenu.1.4}}" data-toggle="modal" data-target="#nav-login"> <a class="nav-link" href="#" title="{{$nav.loginmenu.1.3}}" id="{{$nav.loginmenu.1.4}}" data-toggle="modal" data-target="#nav-login">