From ddb489ecd70db1e30fc43061e039997f754ee12c Mon Sep 17 00:00:00 2001 From: Ross Date: Fri, 27 Aug 2021 23:08:35 +0100 Subject: [PATCH] . --- .../templates/anatomy/question_detail.html | 28 ++++++++++--------- longs/templates/longs/question_detail.html | 26 +++++++++-------- rapids/templates/rapids/question_detail.html | 24 ++++++++-------- 3 files changed, 41 insertions(+), 37 deletions(-) diff --git a/anatomy/templates/anatomy/question_detail.html b/anatomy/templates/anatomy/question_detail.html index 8926b684..fc4bd546 100644 --- a/anatomy/templates/anatomy/question_detail.html +++ b/anatomy/templates/anatomy/question_detail.html @@ -2,30 +2,32 @@ {% block content %} {% load static %} -{% if exam %} -
- - {% if previous > -1 %} - Previous question - {% endif %} - This question is part of exam: {{exam.name}} [{{pos}}/{{exam_length}}] - {% if next %} - Next question - {% endif %} -
-{% endif %}
-
+
Edit Clone Delete Admin Edit +{% if exam %} +
+ + {% if previous > -1 %} + Previous question + {% endif %} + Viewing question as part of exam: {{exam.name}} [{{pos}}/{{exam_length}}] + {% if next %} + Next question + {% endif %} +
+{% endif %} +
+
Created: {{ question.created_date|date:"d/m/Y" }}
diff --git a/longs/templates/longs/question_detail.html b/longs/templates/longs/question_detail.html index 6922e497..6b9a5157 100755 --- a/longs/templates/longs/question_detail.html +++ b/longs/templates/longs/question_detail.html @@ -3,19 +3,8 @@ {% block content %} -{% if exam %} -
- -{% if previous > -1 %} -Previous question -{% endif %} - This question is part of exam: {{exam.name}} [{{pos}}/{{exam_length}}] -{% if next %} -Next question -{% endif %} -
-{% endif %} +
Edit Clone Delete @@ -23,6 +12,19 @@ {% if request.user.is_superuser %} Admin Edit {% endif %} +{% if exam %} +
+ +{% if previous > -1 %} +Previous question +{% endif %} + Viewing question as part of exam: {{exam.name}} [{{pos}}/{{exam_length}}] +{% if next %} +Next question +{% endif %} +
+{% endif %} +
{% include 'longs/long_display_block.html' %} {% endblock %} diff --git a/rapids/templates/rapids/question_detail.html b/rapids/templates/rapids/question_detail.html index 0dd2a27e..5f7ab237 100755 --- a/rapids/templates/rapids/question_detail.html +++ b/rapids/templates/rapids/question_detail.html @@ -3,18 +3,6 @@ {% block content %}
-{% if exam %} -
- -{% if previous > -1 %} -Previous question -{% endif %} - This question is part of exam: {{exam.name}} [{{pos}}/{{exam_length}}] -{% if next %} -Next question -{% endif %} -
-{% endif %} Edit Clone @@ -24,6 +12,18 @@ Admin Edit User answers {% endif %} +{% if exam %} +
+ +{% if previous > -1 %} +Previous question +{% endif %} +Viewing question as part of exam: {{exam.name}} [{{pos}}/{{exam_length}}] +{% if next %} +Next question +{% endif %} +
+{% endif %}
{% include 'rapids/question_display_block.html' %} {% endblock %} \ No newline at end of file