Add external auth emails to entity search

Fixes #1791
This commit is contained in:
Joseph Schorr 2016-09-08 11:23:37 -04:00
parent 934cdecbd6
commit ccb5bc8f1b
3 changed files with 11 additions and 0 deletions

View file

@ -300,6 +300,10 @@ angular.module('quay').directive('entitySearch', function () {
template += '<span class="name">' + datum.value + '</span>';
if (datum.entity.title) {
template += '<span class="title">' + datum.entity.title + '</span>';
}
if (datum.entity.is_org_member === false && datum.entity.kind == 'user') {
template += '<i class="fa fa-exclamation-triangle" title="User is outside the organization"></i>';
}