16 lines
481 B
HTML
16 lines
481 B
HTML
{% if object_list %}
|
|
<div class="notes">
|
|
{% for note in object_list %}
|
|
<div class="note">
|
|
<p>{{ note.note | linebreaksbr }}</p>
|
|
{% if show_from %}<p class="note-from">From {{ note.from_user.visible_name }}</p>{% endif %}
|
|
{% if show_to %}<p class="note-to">To {{ note.to_user.visible_name }}</p>{% endif %}
|
|
<p class="note-at">{{ note.created_at|date:"j M Y, H:i"}}</p>
|
|
</div>
|
|
{% endfor %}
|
|
</div>
|
|
{% else %}
|
|
<div class="card">No Notes found</div>
|
|
{% endif %}
|
|
|