diff --git a/longs/templates/longs/mark_question_double_overview.html b/longs/templates/longs/mark_question_double_overview.html index 60811a88..4f81014f 100644 --- a/longs/templates/longs/mark_question_double_overview.html +++ b/longs/templates/longs/mark_question_double_overview.html @@ -1,44 +1,45 @@ {% extends 'longs/exams.html' %} {% block content %} -View -Edit Admin - Edit -

Marking question {{question_details.current}} of {{question_details.total}}

-
- - {% if not unmarked_count %} - - {% else %} - - - {% endif %} - Answers: - + View + Edit Admin + Edit +

Marking question {{question_details.current}} of {{question_details.total}}

- {% if question_details.current > 1 %} - Previous - {% endif %} - {% if question_details.current >= question_details.total %} - {% else %} - Next - {% endif %} -
-
-{% endblock %} \ No newline at end of file + {% if not unmarked_count %} + + {% else %} + + {% endif %} + Answers: + +
+ {% if question_details.current > 1 %} + Previous + {% endif %} + {% if question_details.current >= question_details.total %} + {% else %} + Next + {% endif %} +
+ + +{% endblock %} diff --git a/longs/views.py b/longs/views.py index b4a806e1..966df51b 100755 --- a/longs/views.py +++ b/longs/views.py @@ -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",