admin: improve team-print view
This commit is contained in:
parent
5085e1c517
commit
7fa490aadf
2 changed files with 12 additions and 5 deletions
|
|
@ -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;">
|
||||
|
|
|
|||
Reference in a new issue