kc-tabs-client-scope.html 1.2 KB

1234567891011121314151617181920
  1. <div data-ng-controller="ClientScopeTabCtrl">
  2. <h1 data-ng-show="create">{{:: 'add-client-scope' | translate}}</h1>
  3. <h1 data-ng-hide="create">
  4. {{clientScope.name|capitalize}}
  5. <i id="removeClientScope" class="pficon pficon-delete clickable" data-ng-show="access.manageClients" data-ng-click="removeClientScope()"></i>
  6. </h1>
  7. <ul class="nav nav-tabs nav-tabs-pf" data-ng-hide="create && !path[4]">
  8. <li ng-class="{active: !path[4]}"><a href="#/realms/{{realm.realm}}/client-scopes/{{clientScope.id}}">{{:: 'settings' | translate}}</a></li>
  9. <li ng-class="{active: path[4] == 'mappers'}">
  10. <a href="#/realms/{{realm.realm}}/client-scopes/{{clientScope.id}}/mappers">{{:: 'mappers' | translate}}</a>
  11. <kc-tooltip>{{:: 'mappers.tooltip' | translate}}</kc-tooltip>
  12. </li>
  13. <li ng-class="{active: path[4] == 'scope-mappings'}" data-ng-show="client.protocol != 'docker-v2'">
  14. <a href="#/realms/{{realm.realm}}/client-scopes/{{clientScope.id}}/scope-mappings">{{:: 'scope' | translate}}</a>
  15. <kc-tooltip>{{:: 'scope.tooltip' | translate}}</kc-tooltip>
  16. </li>
  17. </ul>
  18. </div>