X-Git-Url: https://git.p6c8.net/pcdenotes.git/blobdiff_plain/ee38ff5eec83ee81d518125d2894c631da45c3f9..47224b91ae3e01117f734fe9e22067c22e882b88:/notes/templates/note_list.html?ds=sidebyside diff --git a/notes/templates/note_list.html b/notes/templates/note_list.html index e996fb2..5647f9c 100644 --- a/notes/templates/note_list.html +++ b/notes/templates/note_list.html @@ -1,20 +1,23 @@ {% extends "note_base.html" %} -{% load markdownify %} {% block title %}Notes{% endblock %} {% block content %} - {% for note in notes %} -
-

{{ note.title }}

-

ID: {{ note.id }}

-
{{ note.content|linebreaksbr|markdownify }}
-

Link: View

-

Date: {{ note.created_at|date:"Y-m-d H:i" }}

-
+ {% for note in notes_page %} + {% include "note.html" %} {% empty %}

No notes

{% endfor %} -

Number of notes: {{ notes_count }}

+ {% if page_count > 1 %} + + {% endif %} {% endblock %} \ No newline at end of file