diff --git a/longs/templates/longs/exam_overview.html b/longs/templates/longs/exam_overview.html index 0f4bfe56..610cb6cc 100644 --- a/longs/templates/longs/exam_overview.html +++ b/longs/templates/longs/exam_overview.html @@ -2,216 +2,217 @@ {% block content %} -{% load thumbnail %} -
- Edit - Delete - {% if request.user.is_superuser %} - Admin Edit - {% endif %} -

Exam: {{ exam.name }}

+ {% load thumbnail %} +
+ Edit + Delete + {% 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.
- Exam mode: {{ exam.exam_mode }} + 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 on this site] -
- {% endif %} -

- -
    - {% for question in questions.all %} - -
  1. - - Description: {{ question.description}} -
    - History: {{ question.history}} -
    -
    - Author(s): {{question.get_authors}} -
    -
    - View / Edit - [id: {{question.pk}}] -
    -
    - - {% for series in question.series.all %} -
    - Series {{forloop.counter }}:
    - {{series.get_block}} + {% if exam.exam_mode %} +
    + Exam active: [When checked the exam will be available to take in the test system]
    - {% empty %} - No series +
    + Publish results: + [When checked the exam results will + be available on this site] +
    + {% endif %} +

    + +
      + {% for question in questions.all %} + +
    1. + + Description: {{ question.description}} +
      + History: {{ question.history}} +
      +
      + Author(s): {{question.get_authors}} +
      + +
      + + {% for series in question.series.all %} +
      + Series {{forloop.counter }}:
      + {{series.get_block}} +
      + {% empty %} + No series + {% endfor %} +
      +
    2. {% endfor %} - - - {% endfor %} -
    -
    - Author: {% for author in exam.author.all %} - {{ author }}, - {% endfor %} -
    - - {% if can_edit %} - -

    -
    - JSON creation time: {{exam.json_creation_time}} ({{exam.json_creation_time|date:"c"}}), - JSON creation id: {{exam.exam_json_id}} - {% if exam.recreate_json %}[JSON out of date]{% endif %} -
    - JSON - JSON (unbased) - Refresh JSON cache - Refresh Question JSON cache +
+
+ Author: {% for author in exam.author.all %} + {{ author }}, + {% endfor %} +
- - - {% endif %} + {% if can_edit %} -
- -{% endblock %} \ No newline at end of file + +{% endblock %} diff --git a/rapids/templates/rapids/question_display_block.html b/rapids/templates/rapids/question_display_block.html index 8fb7cf5e..b128b9fc 100755 --- a/rapids/templates/rapids/question_display_block.html +++ b/rapids/templates/rapids/question_display_block.html @@ -59,6 +59,7 @@ {% if view_feedback %} {% include 'question_notes.html' %} + {% if not question.normal %}
Suggested answers @@ -70,6 +71,7 @@
{% endif %} + {% endif %}
diff --git a/templates/exam_notes.html b/templates/exam_notes.html index 2767b51b..5ddefb0e 100644 --- a/templates/exam_notes.html +++ b/templates/exam_notes.html @@ -1,10 +1,10 @@ {% if notes %} - -{% endif %} \ No newline at end of file + +{% endif %} diff --git a/templates/question_notes.html b/templates/question_notes.html index 978afe6c..6d961e2d 100644 --- a/templates/question_notes.html +++ b/templates/question_notes.html @@ -1,21 +1,21 @@ Notes: \ No newline at end of file +