X-Git-Url: https://git.p6c8.net/pcdenotes.git/blobdiff_plain/0f4e8b8769f4e9d58350b5d81cf931f61f03a33a..05088b5302c2a9f89229d043345821105b1797dd:/notes/templates/note_list.html?page=%7B%7B%20page.number%20%7D%7D diff --git a/notes/templates/note_list.html b/notes/templates/note_list.html index bf278e1..5647f9c 100644 --- a/notes/templates/note_list.html +++ b/notes/templates/note_list.html @@ -1,30 +1,23 @@ {% extends "note_base.html" %} -{% load markdownify %} {% block title %}Notes{% endblock %} {% block content %} {% for note in notes_page %} -
-

{{ note.title }}

-

ID: {{ note.id }}

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

Link: View

-

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

-
+ {% include "note.html" %} {% empty %}

No notes

{% endfor %} - - -

Number of notes: {{ notes_count }}

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