admin: improve team-print view

This commit is contained in:
nemunaire 2017-11-10 20:25:07 +01:00 committed by Pierre-Olivier Mercier
commit 7fa490aadf
2 changed files with 12 additions and 5 deletions

View file

@ -5,8 +5,11 @@
<table class="table table-hover table-bordered">
<thead>
<tr>
<th ng-repeat="field in fields">
{{ field }}
<th>
ID
</th>
<th>
Nom d'équipe
</th>
<th>
members
@ -15,8 +18,12 @@
</thead>
<tbody>
<tr ng-repeat="team in teams | filter: query" ng-click="show(team.id)">
<td ng-repeat="field in fields">
{{ team[field] }}
<td>
{{ team.id }}
</td>
<td>
{{ team.name }}
<div ng-if="team.name != team.initialName">{{ team.initialName }}</div>
</td>
<td ng-controller="TeamMembersController" style="padding: 0;">
<table class="table table-hover table-condensed" style="margin: 0;">