admin: display important information first

No more useless column, link with theme when possible
This commit is contained in:
nemunaire 2018-12-08 21:24:30 +01:00
commit 83ad6340b2
4 changed files with 6 additions and 6 deletions

View file

@ -41,7 +41,7 @@
<input type="checkbox" ng-model="exercice.selected">
</td>
<td ng-repeat="field in fields" ng-click="show(exercice.id)">
{{ exercice[field] }}
{{ exercice[field] | stripHTML }}
</td>
<td>
<a ng-href="themes/{{ exercice.id_theme }}">{{ themes[exercice.id_theme].name }}</a>

View file

@ -16,7 +16,7 @@
<tbody>
<tr ng-repeat="theme in themes | filter: query" ng-click="show(theme.id)">
<td ng-repeat="field in fields">
{{ theme[field] }}
{{ theme[field] | stripHTML }}
</td>
</tr>
</tbody>

View file

@ -35,7 +35,7 @@
<tbody>
<tr ng-repeat="exercice in exercices | filter: query" ng-click="show(exercice.id)">
<td ng-repeat="field in fields">
{{ exercice[field] }}
{{ exercice[field] | stripHTML }}
</td>
</tr>
</tbody>