summaryrefslogtreecommitdiffstats
path: root/testapi/opnfv_testapi/ui/shared/header/header.html
diff options
context:
space:
mode:
Diffstat (limited to 'testapi/opnfv_testapi/ui/shared/header/header.html')
-rw-r--r--testapi/opnfv_testapi/ui/shared/header/header.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/testapi/opnfv_testapi/ui/shared/header/header.html b/testapi/opnfv_testapi/ui/shared/header/header.html
index d0501a2..2300594 100644
--- a/testapi/opnfv_testapi/ui/shared/header/header.html
+++ b/testapi/opnfv_testapi/ui/shared/header/header.html
@@ -21,7 +21,7 @@ TestAPI
<li ng-class="{ active: header.isActive('/projects')}"><a ui-sref="projects">Projects</a></li>
<li ng-class="{ active: header.isActive('/results')}"><a ui-sref="results">Results</a></li>
</ul>
- <ul class="nav navbar-nav navbar-right">
+ <ul class="nav navbar-nav navbar-right" ng-class="{'hidden' : !authenticate}">
<li ng-class="{ active: header.isActive('/profile')}" ng-if="auth.isAuthenticated"><a ui-sref="profile">Profile</a></li>
<li ng-if="auth.isAuthenticated"><a href="" ng-click="auth.doSignOut()">Sign Out</a></li>
<li ng-if="!auth.isAuthenticated"><a href="" ng-click="auth.doSignIn()">Sign In / Sign Up</a></li>