From c9f6d12a046da32a5824adf315e3cd2c3480b21e Mon Sep 17 00:00:00 2001 From: Ross Date: Thu, 9 Sep 2021 18:11:15 +0100 Subject: [PATCH] . --- .../rapids/question_display_block.html | 18 +----------------- templates/question_notes.html | 17 +++++++++++++++++ 2 files changed, 18 insertions(+), 17 deletions(-) create mode 100644 templates/question_notes.html diff --git a/rapids/templates/rapids/question_display_block.html b/rapids/templates/rapids/question_display_block.html index 032f457d..8fb7cf5e 100755 --- a/rapids/templates/rapids/question_display_block.html +++ b/rapids/templates/rapids/question_display_block.html @@ -58,23 +58,7 @@
{% if view_feedback %} - Notes: - + {% include 'question_notes.html' %}
Suggested answers diff --git a/templates/question_notes.html b/templates/question_notes.html new file mode 100644 index 00000000..016e99a0 --- /dev/null +++ b/templates/question_notes.html @@ -0,0 +1,17 @@ +Notes: +
    + {% for note in question.notes.all %} +
  • + {{ note.created_on }} by + {% if note.user_author %} + {{note.user_author}} + {% else %} + {{ note.author }} [unregistered] + {% endif %} + {{note.note_type}} / {{ note.note }} + {% if not note.complete %} + (Mark complete) + {% endif %} +
  • + {% endfor %} +
\ No newline at end of file