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