admin: add related theme in exercice list page

This commit is contained in:
nemunaire 2018-12-08 21:17:37 +01:00
parent 78b6211b94
commit 81ce648b5d
2 changed files with 14 additions and 1 deletions

View file

@ -30,6 +30,9 @@
<th ng-repeat="field in fields">
{{ field }}
</th>
<th>
Thème
</th>
</tr>
</thead>
<tbody>
@ -40,6 +43,9 @@
<td ng-repeat="field in fields" ng-click="show(exercice.id)">
{{ exercice[field] }}
</td>
<td>
<a ng-href="themes/{{ exercice.id_theme }}">{{ themes[exercice.id_theme].name }}</a>
</td>
</tr>
</tbody>
</table>