aboutsummaryrefslogtreecommitdiff
path: root/design/templates/notes/notes_list.html
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2019-01-05 09:50:21 -0600
committerluxagraf <sng@luxagraf.net>2019-01-05 09:50:21 -0600
commitd5f430d3e1e2b274d8d8f744251e8b6b4b72ebd9 (patch)
tree094404cdf4eaba53b1e225b54212679f6f032afd /design/templates/notes/notes_list.html
parent23b4b185e3f3f8b9f17eebc49110cb4696acdb39 (diff)
changed to custom modal, added saving animation for note editing.
Diffstat (limited to 'design/templates/notes/notes_list.html')
-rw-r--r--design/templates/notes/notes_list.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/design/templates/notes/notes_list.html b/design/templates/notes/notes_list.html
index 5ef067a..94e82ec 100644
--- a/design/templates/notes/notes_list.html
+++ b/design/templates/notes/notes_list.html
@@ -5,6 +5,15 @@
<div class="note-container">
<div class="note-hed-wrapper">
<h1 class="note-hed">Notes</h1>
+ {% if messages %}
+ <ul class="messages">
+ {% for message in messages %}
+ <li{% if message.tags %} class="{{ message.tags }}"{% endif %}>
+ {% if 'safe' in message.tags %}{{ message|safe }}{% else %}{{ message }}{% endif %}
+ </li>
+ {% endfor %}
+ </ul>
+ {% endif %}
{% if tags|length >= 1%}<h2 class="note-subhed">Tagged with: {% for tag in tags%}<a href="{{tag.slug}}">{{tag.name}}</a>{%endfor%}</h2>{%endif%}
<h6 class="bottom-margin-0 inline-block"><button id="notebook-drop-btn" class="btn btn-light btn-drop-menu">Notebooks</button></h6>