hide logout button if not logged in
This commit is contained in:
parent
1be3ec6d76
commit
30c14b1046
1 changed files with 2 additions and 2 deletions
|
@ -57,8 +57,8 @@
|
|||
</div>
|
||||
<div class="collapse navbar-collapse">
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<li>
|
||||
<span ng-if="current_user" class="btn">{{current_user}}</span>
|
||||
<li ng-if="current_user">
|
||||
<span class="btn">{{current_user}}</span>
|
||||
<span class="btn btn-link">
|
||||
<a href="/logout"><span class="fa fa-sign-out vcenter"></span> {{'logout' | translate}}</a>
|
||||
</span>
|
||||
|
|
Loading…
Reference in a new issue