This commit is contained in:
Ross
2021-09-09 18:11:15 +01:00
parent 0f77400e1d
commit c9f6d12a04
2 changed files with 18 additions and 17 deletions
@@ -58,23 +58,7 @@
<div>
{% if view_feedback %}
Notes:
<ul class="notes">
{% for note in question.notes.all %}
<li {% if note.complete %}class='complete' {% endif %}>
{{ 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 %}
(<a href="{% url 'feedback_mark_complete' pk=note.pk %}">Mark complete</a>)
{% endif %}
</li>
{% endfor %}
</ul>
{% include 'question_notes.html' %}
<details>
<summary>
Suggested answers
+17
View File
@@ -0,0 +1,17 @@
Notes:
<ul class="notes">
{% for note in question.notes.all %}
<li {% if note.complete %}class='complete' {% endif %}>
{{ 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 %}
(<a href="{% url 'feedback_mark_complete' pk=note.pk %}">Mark complete</a>)
{% endif %}
</li>
{% endfor %}
</ul>