This repository has been archived on 2020-03-24. You can view files and clone it, but cannot push or open issues or pull requests.
quay/static/directives/team-view-add.html
2017-04-07 15:13:32 -04:00

26 lines
1.1 KiB
HTML

<div class="team-view-add-element" focusable-popover-content>
<div class="entity-search"
namespace="orgname"
placeholder="getAddPlaceholder(allowEmail, syncInfo)"
entity-selected="addNewMember(entity)"
email-selected="inviteEmail(email)"
current-entity="selectedMember"
auto-clear="true"
allowed-entities="allowedEntities"
pull-right="true"
allow-emails="allowEmail && !syncInfo"
email-message="Press enter to invite the entered e-mail address to this team"
ng-show="!addingMember"></div>
<div ng-show="addingMember">
<div class="cor-loader-inline"></div> Inviting team member
</div>
<div class="help-text" ng-show="!addingMember">
<span ng-if="!syncInfo">
<span ng-if="allowEmail">Search by registry username, robot account name or enter an email address to invite</span>
<span ng-if="!allowEmail">Search by registry username or robot account name</span>
</span>
<span ng-if="syncInfo">
Search by robot account name. Users must be added in {{ syncInfo.service }}.
</span>
</div>
</div>