Make the add member dialog in the team view more clear about email addresses

This commit is contained in:
Joseph Schorr 2014-12-09 23:39:08 +02:00
parent dbac8c7e3d
commit bab1b183e6

View file

@ -1,6 +1,6 @@
<div class="team-view-add-element" focusable-popover-content>
<div class="entity-search"
namespace="orgname" placeholder="'Add a registered user or robot...'"
namespace="orgname" placeholder="allowEmail ? 'Add a registered user, robot or email address...' : 'Add a registered user or robot...'"
entity-selected="addNewMember(entity)"
email-selected="inviteEmail(email)"
current-entity="selectedMember"
@ -12,6 +12,7 @@
ng-show="!addingMember"></div>
<div class="quay-spinner" ng-show="addingMember"></div>
<div class="help-text" ng-show="!addingMember">
Search by Quay.io username or robot account name
<span ng-if="allowEmail">Search by Quay.io username, robot account name or enter an email address to invite</span>
<span ng-if="!allowEmail">Search by Quay.io username or robot account name</span>
</div>
</div>