Abstract out the display of entities (users, robot accounts, and teams) into a nice directive to ensure that we always display the correctly formatted entity information (icon and name)

This commit is contained in:
Joseph Schorr 2013-11-26 14:37:55 -05:00
parent 72acc8769b
commit d5c0f768c2
8 changed files with 63 additions and 35 deletions

View file

@ -113,14 +113,13 @@
<table class="table table-striped">
<thead>
<th>User</th>
<th>User/Robot Account</th>
<th>Teams</th>
</thead>
<tr ng-repeat="memberInfo in (membersFound | filter:search | limitTo:50)">
<td>
<i class="fa fa-user"></i>
{{ memberInfo.username }}
<span class="entity-reference" name="memberInfo.username" isrobot="memberInfo.is_robot"></span>
</td>
<td>
<span class="team-link" ng-repeat="team in memberInfo.teams">