Skip to content

Commit ba83a56

Browse files
committed
quizlist datatable number of questions
1 parent 387285c commit ba83a56

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

django_school/classroom/templates/classroom/students/quiz_list.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<tr>
1818
<th>Quiz</th>
1919
<th class="d-none d-sm-table-cell">Subject</th>
20-
<th class="d-none d-sm-table-cell">Length</th>
20+
<th class="d-none d-sm-table-cell">Questions</th>
2121
<th></th>
2222
</tr>
2323
</thead>
@@ -26,8 +26,8 @@
2626
<tr{% if quiz.subject.id in student_subjects %} style="background: #fdf7e3"{%endif%}>
2727
<td class="align-middle">{{ quiz.name }}</td>
2828
<td class="align-middle d-none d-sm-table-cell">{{ quiz.subject.get_html_badge }}</td>
29-
<td class="align-middle d-none d-sm-table-cell">{{ quiz.questions_count }} questions</td>
30-
<td class="text-right">
29+
<td class="align-middle d-none d-sm-table-cell">{{ quiz.questions_count }}</td>
30+
<td class="text-right" data-orderable="false">
3131
<a href="{% url 'students:take_quiz' quiz.pk %}" class="btn btn-primary">Start quiz</a>
3232
</td>
3333
</tr>

0 commit comments

Comments
 (0)