.
This commit is contained in:
@@ -43,7 +43,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<a href="{% url 'longs:exam_question_detail' exam.id forloop.counter0 %}"
|
<a href="{% url 'longs:exam_question_detail' exam.id forloop.counter0 %}"
|
||||||
title="View the question">View</a> <a href="{% url 'longs:long_update' question.id %}"
|
title="View the question">View</a> / <a href="{% url 'longs:long_update' question.id %}"
|
||||||
title="Edit the question">Edit</a>
|
title="Edit the question">Edit</a>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
|
|||||||
@@ -12,12 +12,12 @@
|
|||||||
|
|
||||||
<span>Marking CID: {{answer.cid}} ({{unmarked|length}} answer(s) left to mark)</span>
|
<span>Marking CID: {{answer.cid}} ({{unmarked|length}} answer(s) left to mark)</span>
|
||||||
<div>
|
<div>
|
||||||
<details open>
|
<details open title="click to view/hide the mark scheme">
|
||||||
<summary>Mark Scheme</summary>
|
<summary>Mark Scheme</summary>
|
||||||
{{ question.mark_scheme | safe}}
|
{{ question.mark_scheme | safe}}
|
||||||
</details>
|
</details>
|
||||||
</div>
|
</div>
|
||||||
<details open>
|
<details open title="click to view/hide user answers">
|
||||||
<summary>User answers</summary>
|
<summary>User answers</summary>
|
||||||
<div>
|
<div>
|
||||||
<div class="long-answer">
|
<div class="long-answer">
|
||||||
|
|||||||
+1
-1
@@ -637,7 +637,7 @@ def loadJsonAnswer(answer):
|
|||||||
|
|
||||||
@login_required
|
@login_required
|
||||||
@user_is_long_checker
|
@user_is_long_checker
|
||||||
#@reversion.create_revision()
|
@reversion.create_revision()
|
||||||
def mark_answer(request, pk, sk, tk):
|
def mark_answer(request, pk, sk, tk):
|
||||||
exam = get_object_or_404(Exam, pk=pk)
|
exam = get_object_or_404(Exam, pk=pk)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user