.
This commit is contained in:
@@ -1,21 +1,21 @@
|
||||
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 %}
|
||||
{% if request.user.is_superuser %}
|
||||
(<a href="{% url 'feedback_note_delete' pk=note.pk %}">Delete</a>)
|
||||
{% endif %}
|
||||
</li>
|
||||
<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 %}
|
||||
{% if request.user.is_superuser %}
|
||||
(<a href="{% url 'feedback_note_delete' pk=note.pk %}">Delete</a>)
|
||||
{% endif %}
|
||||
</li>
|
||||
{% endfor %}
|
||||
{% if not question.notes.all %}No notes to display.{% endif %}
|
||||
</ul>
|
||||
</ul>
|
||||
|
||||
Reference in New Issue
Block a user