.
This commit is contained in:
@@ -1,19 +1,20 @@
|
|||||||
{% extends 'longs/exams.html' %}
|
{% extends 'longs/exams.html' %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<a href="{% url 'longs:exam_question_detail' exam.id question_details.current|add:'-1' %}"
|
<a href="{% url 'longs:exam_question_detail' exam.id question_details.current|add:'-1' %}"
|
||||||
title="View the Question">View</a>
|
title="View the Question">View</a>
|
||||||
<a href="{% url 'longs:long_update' question.id %}" title="Edit the Question">Edit</a> <a
|
<a href="{% url 'longs:long_update' question.id %}" title="Edit the Question">Edit</a> <a
|
||||||
href="{% url 'admin:longs_long_change' question.id %}" title="Edit the Question using the admin interface">Admin
|
href="{% url 'admin:longs_long_change' question.id %}" title="Edit the Question using the admin interface">Admin
|
||||||
Edit</a>
|
Edit</a>
|
||||||
<h2>Marking question {{question_details.current}} of {{question_details.total}}</h2>
|
<h2>Marking question {{question_details.current}} of {{question_details.total}}</h2>
|
||||||
<div>
|
<div>
|
||||||
|
|
||||||
{% if not unmarked_count %}
|
{% 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 %}
|
{% 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 %}
|
{% endif %}
|
||||||
Answers:
|
Answers:
|
||||||
<ul>
|
<ul>
|
||||||
@@ -39,6 +40,6 @@
|
|||||||
<a href="{% url 'longs:mark_question_overview' exam.id question_details.current %}" title="Next question">Next</a>
|
<a href="{% url 'longs:mark_question_overview' exam.id question_details.current %}" title="Next question">Next</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
@@ -802,6 +802,7 @@ def mark_question_overview(request, exam_id, sk):
|
|||||||
unmarked_count = user_answers.filter(score=CidUserAnswer.ScoreOptions.UNMARKED).count()
|
unmarked_count = user_answers.filter(score=CidUserAnswer.ScoreOptions.UNMARKED).count()
|
||||||
|
|
||||||
if exam.double_mark:
|
if exam.double_mark:
|
||||||
|
marker_unmarked_count = question.get
|
||||||
return render(
|
return render(
|
||||||
request,
|
request,
|
||||||
"longs/mark_question_double_overview.html",
|
"longs/mark_question_double_overview.html",
|
||||||
|
|||||||
Reference in New Issue
Block a user