From 4910e6b73914af137c6a8183a36ede4aec4cea82 Mon Sep 17 00:00:00 2001 From: Ross Date: Thu, 22 Apr 2021 23:28:15 +0100 Subject: [PATCH] . --- anatomy/templates/anatomy/exam_overview.html | 5 ++++- rapids/filters.py | 2 +- rapids/tables.py | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/anatomy/templates/anatomy/exam_overview.html b/anatomy/templates/anatomy/exam_overview.html index 353896fe..0820c131 100644 --- a/anatomy/templates/anatomy/exam_overview.html +++ b/anatomy/templates/anatomy/exam_overview.html @@ -8,13 +8,16 @@

Exam: {{ exam.name }}

This exam has {{question_number}} questions. Time limit: {{exam.time_limit}} seconds. + Exam mode: {{ exam.exam_mode }} + + {% if exam.mode %}
Exam active: [When checked the exam will be available to take in the test system]
Publish results: [When checked the exam results will be available on this site]
- Exam mode: {{ exam.exam_mode }} + {% endif %}

    diff --git a/rapids/filters.py b/rapids/filters.py index 3f3cc13c..09c8f36a 100755 --- a/rapids/filters.py +++ b/rapids/filters.py @@ -9,7 +9,7 @@ class RapidFilter(django_filters.FilterSet): fields = ("normal", "abnormality", "exams", "region", "examination", "laterality", #"site", - "created_date", "author") + "created_date", "open_access", "author") def __init__(self, data=None, queryset=None, prefix=None, strict=None, user=None, request=None): if not request.user.groups.filter(name="rapid_checker").exists(): diff --git a/rapids/tables.py b/rapids/tables.py index 6ef2f1f8..25deb20c 100755 --- a/rapids/tables.py +++ b/rapids/tables.py @@ -54,5 +54,5 @@ class RapidTable(tables.Table): fields = ("normal", "abnormality", "region", "examination", "laterality", #"site", - "created_date", "author") + "created_date", "open_access", "author") sequence = ("view", "images", "exams") \ No newline at end of file