summaryrefslogtreecommitdiffstats
path: root/3rd_party/static/testapi-ui/shared/header/header.html
diff options
context:
space:
mode:
authorDan Xu <xudan16@huawei.com>2019-04-11 06:39:25 +0000
committerGerrit Code Review <gerrit@opnfv.org>2019-04-11 06:39:25 +0000
commitdbcc039303c7f010348814694b8f75d621aa51e3 (patch)
tree2ecc14d87b24166c2e6d49f33103b63e1ca4c6fd /3rd_party/static/testapi-ui/shared/header/header.html
parentd32ce7d109fb36277681629c8e648777664862b2 (diff)
parent71bdc6752f47b7da7282f786570fbe717973fb6d (diff)
Merge "Enhanced OVP Web Portal"
Diffstat (limited to '3rd_party/static/testapi-ui/shared/header/header.html')
-rw-r--r--3rd_party/static/testapi-ui/shared/header/header.html7
1 files changed, 6 insertions, 1 deletions
diff --git a/3rd_party/static/testapi-ui/shared/header/header.html b/3rd_party/static/testapi-ui/shared/header/header.html
index 54470e7..fad240c 100644
--- a/3rd_party/static/testapi-ui/shared/header/header.html
+++ b/3rd_party/static/testapi-ui/shared/header/header.html
@@ -19,7 +19,12 @@
ng-if="auth.isAuthenticated && auth.currentUser.role.indexOf('administrator') != -1">
<a ui-sref="application">Applications</a>
</li>
- <li ng-class="{ active: header.isActive('/user_results')}" ng-if="auth.isAuthenticated">
+ <li ng-class="{ active: header.isActive('/community_results')}"
+ ng-if="auth.isAuthenticated && auth.canReview(auth.currentUser)">
+ <a ui-sref="communityResults">Incoming Reviews</a>
+ </li>
+ <li ng-class="{ active: header.isActive('/user_results')}"
+ ng-if="auth.isAuthenticated && auth.currentUser.role.indexOf('user') != -1">
<a ui-sref="userResults">My Results</a>
</li>
<li ng-class="{ active: header.isActive('/profile')}" ng-if="auth.isAuthenticated">