diff options
Diffstat (limited to '3rd_party/static/testapi-ui/shared/header/header.html')
-rw-r--r-- | 3rd_party/static/testapi-ui/shared/header/header.html | 7 |
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"> |