X-Git-Url: https://git.p6c8.net/pcdenotes.git/blobdiff_plain/3fb7b9dea69252f64ee82967dfca97baf1b02df7..11c906b45d797fbca4440685854d00c395e2422a:/notes/templates/note_list.html diff --git a/notes/templates/note_list.html b/notes/templates/note_list.html index fb2da33..5647f9c 100644 --- a/notes/templates/note_list.html +++ b/notes/templates/note_list.html @@ -1,26 +1,23 @@ -{% load markdownify %} - +{% extends "note_base.html" %} - - - Notes - - - - +{% block title %}Notes{% endblock %} -

Notes

- {% 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" }}

- {% empty %} -

No notes

- {% endfor %} +{% block content %} + {% 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