Skip to content
This repository has been archived by the owner on Oct 20, 2021. It is now read-only.

Commit

Permalink
feat(navbar): provide direct access to the apis management view
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasGeraud committed Apr 25, 2017
1 parent 72c9638 commit 858decf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/portal/components/navbar/navbar.html
Expand Up @@ -44,6 +44,7 @@ <h5 ng-if="!($ctrl.graviteeUser.firstname && $ctrl.graviteeUser.lastname)">{{$ct
<a ui-sref="user">{{'menu.profile' | translate}}</a>
<a ui-sref="management.applications.list">{{'menu.applications' | translate}}</a>
<a ui-sref="management" ng-if="$ctrl.hasRoles(['API_PUBLISHER', 'ADMIN'])">{{'menu.management' | translate}}</a>
<a ui-sref="management.apis.list" ng-if="!$ctrl.hasRoles(['API_PUBLISHER', 'ADMIN'])">{{'menu.apis' | translate}}</a>
</div>
</div>
</div>
Expand Down
1 change: 1 addition & 0 deletions src/portal/i18n/en.json
Expand Up @@ -28,6 +28,7 @@
"profile": "My account",
"management": "Administration",
"applications": "My applications",
"apis": "My APIs",
"logout": "Sign out"
},
"apis": {
Expand Down
1 change: 1 addition & 0 deletions src/portal/i18n/fr.json
Expand Up @@ -28,6 +28,7 @@
"profile": "Mon compte",
"management": "Administration",
"applications": "Mes applications",
"apis": "Mes APIs",
"logout": "Déconnexion"
},
"apis": {
Expand Down

0 comments on commit 858decf

Please sign in to comment.