This commit is contained in:
Ross
2021-09-12 10:13:10 +01:00
parent 6992e1d52a
commit 4b6bf242ee
2 changed files with 41 additions and 39 deletions
@@ -10,10 +10,11 @@
<div>
{% if not unmarked_count %}
<div class="alert alert-info" role="alert">No answers to mark.</div>
<div class="alert alert-info" role="alert">All answers completely marked.</div>
{% else %}
<div class="alert alert-warning" role="alert">{{unmarked_count}} answer(s) to mark.</div>
<div class="alert alert-warning" role="alert">{{unmarked_count}} answer(s) incompletely marked.<br/>
You have marked {{marker_unmarked_count}} / {{user_answer.count}}.
</div>
{% endif %}
Answers:
<ul>
+1
View File
@@ -802,6 +802,7 @@ def mark_question_overview(request, exam_id, sk):
unmarked_count = user_answers.filter(score=CidUserAnswer.ScoreOptions.UNMARKED).count()
if exam.double_mark:
marker_unmarked_count = question.get
return render(
request,
"longs/mark_question_double_overview.html",