kc-tabs-identity-provider.html 1.5 KB

12345678910111213141516
  1. <div data-ng-controller="IdentityProviderTabCtrl">
  2. <h1 data-ng-hide="path[0] == 'create'">
  3. <span data-ng-show="identityProvider.displayName">{{identityProvider.displayName}}</span>
  4. <span data-ng-show="!identityProvider.displayName && provider.groupName == 'Social'">{{provider.name}}</span>
  5. <span data-ng-show="!identityProvider.displayName && provider.groupName != 'Social'">{{identityProvider.alias}}</span>
  6. <i class="pficon pficon-delete clickable" data-ng-hide="newIdentityProvider || changed" data-ng-click="removeIdentityProvider()"></i>
  7. </h1>
  8. <h1 data-ng-show="path[0] == 'create'">{{:: 'add-identity-provider' | translate}}</h1>
  9. <ul class="nav nav-tabs" data-ng-hide="newIdentityProvider">
  10. <li ng-class="{active: !path[6] && path.length > 5}"><a href="#/realms/{{realm.realm}}/identity-provider-settings/provider/{{identityProvider.providerId}}/{{identityProvider.alias}}">{{:: 'settings' | translate}}</a></li>
  11. <li ng-class="{active: path[4] == 'mappers'}"><a href="#/realms/{{realm.realm}}/identity-provider-mappers/{{identityProvider.alias}}/mappers">{{:: 'mappers' | translate}}</a></li>
  12. <li ng-class="{active: path[6] == 'permissions'}" data-ng-show="serverInfo.featureEnabled('ADMIN_FINE_GRAINED_AUTHZ') && !newIdentityProvider && access.manageAuthorization"><a href="#/realms/{{realm.realm}}/identity-provider-settings/provider/{{identityProvider.providerId}}/{{identityProvider.alias}}/permissions">{{:: 'authz-permissions' | translate}}</a></li>
  13. </ul>
  14. </div>