hide logout button if not logged in

This commit is contained in:
Davide Alberani 2016-05-13 23:05:15 +02:00
parent 1be3ec6d76
commit 30c14b1046

View file

@ -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>&nbsp;{{'logout' | translate}}</a>
</span>