List not yet corrected users
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
nemunaire 2020-11-30 10:31:38 +01:00
parent 0fa59dd858
commit dabc01ea11
2 changed files with 61 additions and 7 deletions

View file

@ -7,7 +7,9 @@
</small>
</h2>
<table class="table table-hover table-striped mb-5" ng-controller="QuestionsController" ng-if="survey.id" ng-cloak>
<div ng-controller="QuestionsController" ng-if="survey.id" ng-cloak>
<table class="table table-hover table-striped mb-5">
<thead>
<tr>
<th>Question</th>
@ -28,3 +30,26 @@
</tr>
</tbody>
</table>
<div ng-if="usersResponses">
<h3>Restant à corriger</h3>
<table class="table table-hover table-striped mb-5">
<thead>
<tr>
<th>Étudiant</th>
<th>Questions</th>
</tr>
</thead>
<tbody>
<tr ng-repeat="(id_user,questions) in usersResponses" ng-click="showUserSurvey()">
<td ng-controller="UserController">{{ user.login }}</td>
<td>
<div ng-repeat="question in questions">
{{ mapQuestions[question].title }}
</div>
</td>
</tr>
</tbody>
</table>
</div>
</div>