diff --git a/anatomy/templates/anatomy/exam_overview.html b/anatomy/templates/anatomy/exam_overview.html index 58986295..7504006f 100644 --- a/anatomy/templates/anatomy/exam_overview.html +++ b/anatomy/templates/anatomy/exam_overview.html @@ -2,198 +2,203 @@ {% block content %} -{% load thumbnail %} -
- Edit - Delete - Admin Edit -

Exam: {{ exam.name }}

+ {% load thumbnail %} +
+ Edit + Delete + {% if can_edit %} + Delete + {% endif %} + {% if request.user.is_superuser %} + Admin Edit + {% endif %} +

Exam: {{ exam.name }}

- {% include 'exam_notes.html' %} + {% include 'exam_notes.html' %} - This exam has {{question_number}} questions. Time limit: {{exam.time_limit}} seconds. + This exam has {{question_number}} questions. Time limit: {{exam.time_limit}} seconds. + + Exam mode: {{ exam.exam_mode }} + + {% if exam.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 to users on this site] +
+ {% endif %} +

+ +
    + {% for question in questions.all %} + +
  1. + + thumbail + + {{ question.description }} +
    + {{ question.question_type }}: {{ question.get_primary_answer }} +
    + Modality: {{ question.modality }}, Mark + [id: {{question.pk}}] +
  2. + {% endfor %} +
+
+ Author: {% for author in exam.author.all %} + {{ author }}, + {% endfor %} +
+

+
+ JSON creation time: {{exam.json_creation_time}} ({{exam.json_creation_time|date:"c"}}), + JSON creation id: {{exam.exam_json_id}} +
+ JSON + Refresh JSON cache + + - Exam mode: {{ exam.exam_mode }} - - {% if exam.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 to users on this site] -
- {% endif %} -

- -
    - {% for question in questions.all %} - -
  1. - - thumbail - - {{ question.description }} -
    - {{ question.question_type }}: {{ question.get_primary_answer }} -
    - Modality: {{ question.modality }}, Mark - [id: {{question.pk}}] -
  2. - {% endfor %} -
-
- Author: {% for author in exam.author.all %} - {{ author }}, - {% endfor %} -
-

-
- JSON creation time: {{exam.json_creation_time}} ({{exam.json_creation_time|date:"c"}}), - JSON creation id: {{exam.exam_json_id}} -
- JSON - Refresh JSON cache - - - -
- -{% endblock %} \ No newline at end of file + +{% endblock %} diff --git a/longs/templates/longs/exam_overview.html b/longs/templates/longs/exam_overview.html index 610cb6cc..17f0e4d0 100644 --- a/longs/templates/longs/exam_overview.html +++ b/longs/templates/longs/exam_overview.html @@ -6,6 +6,9 @@
Edit Delete + {% if can_edit %} + Delete + {% endif %} {% if request.user.is_superuser %} Admin Edit {% endif %} diff --git a/rapids/templates/rapids/exam_overview.html b/rapids/templates/rapids/exam_overview.html index f9c66110..6dbc48f3 100644 --- a/rapids/templates/rapids/exam_overview.html +++ b/rapids/templates/rapids/exam_overview.html @@ -2,88 +2,93 @@ {% block content %} -{% load thumbnail %} -
- Edit - Delete - Admin - Edit -

Exam: {{ exam.name }}

+ {% load thumbnail %} +
+ Edit + Delete + {% if can_edit %} + Delete + {% endif %} + {% if request.user.is_superuser %} + Admin + Edit + {% endif %} +

Exam: {{ exam.name }}

- {% include 'exam_notes.html' %} + {% include 'exam_notes.html' %} - This exam has {{question_number}} questions. Time limit: {{exam.time_limit}} seconds.
-
- Normal count: {{ exam.get_normal_abnormal_breakdown }}[Number of normal questions within - the exam] -
-
- Exam mode: {{ exam.exam_mode }}[When true the packet will be taken as an exam (it will - not self mark and results will be saved here)] -
+ This exam has {{question_number}} questions. Time limit: {{exam.time_limit}} seconds.
+
+ Normal count: {{ exam.get_normal_abnormal_breakdown }}[Number of normal questions within + the exam] +
+
+ Exam mode: {{ exam.exam_mode }}[When true the packet will be taken as an exam (it will + not self mark and results will be saved here)] +
-
- Exam active: [When checked the exam will be available to take in the test system] -
- {% if exam.exam_mode %} -
- Publish results: [When checked the exam results will - be available on this site] -
- {% endif %} -

+
+ Exam active: [When checked the exam will be available to take in the test system] +
+ {% if exam.exam_mode %} +
+ Publish results: [When checked the exam results will + be available on this site] +
+ {% endif %} +

-
    - {% for question in questions.all %} +
      + {% for question in questions.all %} -
    1. - - - {% for image in question.get_images %} - thumbail - {% endfor %} - - - - {% if not question.normal %} - Abnormality: {{ question.get_abnormalities }} Region: {{ question.get_regions }} -
      - {{ question.get_primary_answer }} - {% else %} - Normal - {% endif %} -
      - Examination: {{ question.get_examinations }}, Mark - [id: {{question.pk}}] -
      -
    2. - {% endfor %} -
    -
    - Author: {% for author in exam.author.all %} - {{ author }}, - {% endfor %} -
    -

    -
    - JSON creation time: {{exam.json_creation_time}} ({{exam.json_creation_time|date:"c"}}), - JSON creation id: {{exam.exam_json_id}} -
    - JSON - JSON (unbased) - Refresh JSON cache - - +
  1. + + + {% for image in question.get_images %} + thumbail + {% endfor %} + + + + {% if not question.normal %} + Abnormality: {{ question.get_abnormalities }} Region: {{ question.get_regions }} +
    + {{ question.get_primary_answer }} + {% else %} + Normal + {% endif %} +
    + Examination: {{ question.get_examinations }}, Mark + [id: {{question.pk}}] +
    +
  2. + {% endfor %} +
+
+ Author: {% for author in exam.author.all %} + {{ author }}, + {% endfor %} +
+

+
+ JSON creation time: {{exam.json_creation_time}} ({{exam.json_creation_time|date:"c"}}), + JSON creation id: {{exam.exam_json_id}} +
+ JSON + JSON (unbased) + Refresh JSON cache + + -
- -{% endblock %} \ No newline at end of file + +{% endblock %}