From 4f7b84194b056b5d6d9acca4cceb2cabc04fd8a5 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Sat, 29 Dec 2018 08:37:39 -0600 Subject: cleaned up JS and made modal handler. --- design/templates/notes/notes_list.html | 54 +++++++++++++++++++++++++++------- 1 file changed, 43 insertions(+), 11 deletions(-) (limited to 'design/templates/notes/notes_list.html') diff --git a/design/templates/notes/notes_list.html b/design/templates/notes/notes_list.html index 393cf89..5ef067a 100644 --- a/design/templates/notes/notes_list.html +++ b/design/templates/notes/notes_list.html @@ -2,33 +2,65 @@ {% block content %}
-
-

Notes {% if tags|length == 1%} tagged {% for tag in tags%}{{tag}}{%endfor%}{%endif%}

- {% if tags|length >= 1%}
Tagged with: {% for tag in tags%}{{tag}}{%endfor%}
{%endif%} +
+
+

Notes

+ {% if tags|length >= 1%}

Tagged with: {% for tag in tags%}{{tag.name}}{%endfor%}

{%endif%} + +
+ + +
+ +
+ {%comment%} +{%endcomment%} +
    {% for object in object_list %} {% include "notes/partials/note_list.html" with object=object %} {% endfor %}
-
{% if tags|length >= 1%} - {%endcomment%} {%else%} -
-
+ {%endif%} -
-
+
{% endblock %} -- cgit v1.2.3-70-g09d2