UI improvements to entity-search and the create-external-notification-dialog
This commit is contained in:
parent
752efb9e0f
commit
d5d9cb7a45
3 changed files with 37 additions and 3 deletions
|
@ -11,6 +11,29 @@
|
|||
<li role="presentation" class="dropdown-header" ng-show="!lazyLoading && !robots && !isAdmin && !teams">
|
||||
You do not have permission to manage teams and robots for this organization
|
||||
</li>
|
||||
|
||||
<li role="presentation" class="dropdown-header"
|
||||
ng-show="!lazyLoading && !teams.length && !robots.length && !((includeTeams && isOrganization && isAdmin) || (includeRobots && isAdmin))">
|
||||
<span ng-if="includeRobots && includeTeams && isOrganization">
|
||||
No robot accounts or teams found
|
||||
</span>
|
||||
<span ng-if="!includeRobots && includeTeams && isOrganization">
|
||||
No teams found
|
||||
</span>
|
||||
<span ng-if="includeRobots && !includeTeams && isOrganization">
|
||||
No robot accounts found
|
||||
</span>
|
||||
<span ng-if="!includeRobots && !includeTeams && isOrganization">
|
||||
Robot accounts and teams are not permitted
|
||||
</span>
|
||||
|
||||
<span ng-if="includeRobots && !isOrganization">
|
||||
No robot accounts found
|
||||
</span>
|
||||
<span ng-if="!includeRobots && !isOrganization">
|
||||
Robot accounts are not permitted
|
||||
</span>
|
||||
</li>
|
||||
|
||||
<li role="presentation" ng-repeat="team in teams" ng-show="!lazyLoading"
|
||||
ng-click="setEntity(team.name, 'team', false)">
|
||||
|
|
Reference in a new issue