From 4562081ce4dc7f27566cf392073a60a3fb499efd Mon Sep 17 00:00:00 2001 From: Ross Date: Tue, 7 Dec 2021 16:19:02 +0000 Subject: [PATCH] . --- anatomy/templates/anatomy/exam_overview.html | 2 +- anatomy/templates/anatomy/exam_scores.html | 2 +- anatomy/templates/anatomy/index.html | 2 +- anatomy/templates/anatomy/mark_overview.html | 4 ++-- anatomy/urls.py | 2 +- anatomy/views.py | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/anatomy/templates/anatomy/exam_overview.html b/anatomy/templates/anatomy/exam_overview.html index a23ce232..35c2e5ad 100644 --- a/anatomy/templates/anatomy/exam_overview.html +++ b/anatomy/templates/anatomy/exam_overview.html @@ -48,7 +48,7 @@
Modality: {{ question.modality }}, {% if exam.exam_mode %} - Mark + Mark {% endif %} [id: {{question.pk}}] diff --git a/anatomy/templates/anatomy/exam_scores.html b/anatomy/templates/anatomy/exam_scores.html index 127beb40..bc80e7e7 100644 --- a/anatomy/templates/anatomy/exam_scores.html +++ b/anatomy/templates/anatomy/exam_scores.html @@ -51,7 +51,7 @@ {% for question in questions %} - Question {{forloop.counter}} + Question {{forloop.counter}} {% for ans, score in by_question|get_item:question %} {{ans}} {% endfor %} diff --git a/anatomy/templates/anatomy/index.html b/anatomy/templates/anatomy/index.html index bbdfc02f..0837ca97 100644 --- a/anatomy/templates/anatomy/index.html +++ b/anatomy/templates/anatomy/index.html @@ -6,7 +6,7 @@

Exam: {{ exam.name }}

{% if exam.exam_mode %} - {% if request.user.is_staff %}Mark answers{% endif %} + {% if request.user.is_staff %}Mark answers{% endif %} {% if request.user.is_staff %}Scores{% endif %} {% endif %} diff --git a/anatomy/templates/anatomy/mark_overview.html b/anatomy/templates/anatomy/mark_overview.html index 28e903d4..21fcf170 100644 --- a/anatomy/templates/anatomy/mark_overview.html +++ b/anatomy/templates/anatomy/mark_overview.html @@ -8,11 +8,11 @@
-
+
diff --git a/anatomy/urls.py b/anatomy/urls.py index ec3ce6d2..47f47c7f 100644 --- a/anatomy/urls.py +++ b/anatomy/urls.py @@ -47,7 +47,7 @@ urlpatterns = [ views.GenericViews.question_review, name="question_review", ), - path("exam///mark", views.mark, name="mark"), + path("exam///mark", views.mark, name="mark"), path( "exam//mark", views.AnatomyExamViews.mark_overview, name="mark_overview" ), diff --git a/anatomy/views.py b/anatomy/views.py index 4068f7ac..a114b26d 100644 --- a/anatomy/views.py +++ b/anatomy/views.py @@ -341,7 +341,7 @@ def mark(request, exam_pk, sk, unmarked_exam_answers_only=True, review=False): if form.is_valid(): # If skip button is pressed skip the question without marking if "skip" in request.POST: - return redirect("anatomy:mark", pk=exam_pk, sk=n + 1) + return redirect("anatomy:mark", exam_pk=exam_pk, sk=n + 1) cd = form.cleaned_data