Add UI for viewing and setting the description of a robot account

This commit is contained in:
Joseph Schorr 2018-03-09 16:28:52 -05:00
parent 254cdfe43a
commit 96fafcdffb
5 changed files with 24 additions and 3 deletions

View file

@ -36,6 +36,7 @@
<td ng-class="TableService.tablePredicateClass('name', options.predicate, options.reverse)">
<a ng-click="TableService.orderBy('name', options)">Robot Account Name</a>
</td>
<td>Description</td>
<td ng-if="organization" ng-class="TableService.tablePredicateClass('teams_string', options.predicate, options.reverse)">
<a ng-click="TableService.orderBy('teams_string', options)">Teams</a>
</td>
@ -53,6 +54,10 @@
<span class="prefix" bo-text="getPrefix(robotInfo.name) + '+'"></span><span bo-text="getShortenedName(robotInfo.name)"></span>
</a>
</td>
<td>
<span class="empty" bo-if="!robotInfo.description">(None)</span>
<span bo-if="robotInfo.description">{{ ::robotInfo.description }}</span>
</td>
<td bo-if="organization">
<span class="empty" bo-if="robotInfo.teams.length == 0">
No teams