diff options
Diffstat (limited to 'bn_django/journal/templates/journal/microentry_list.html')
-rw-r--r-- | bn_django/journal/templates/journal/microentry_list.html | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/bn_django/journal/templates/journal/microentry_list.html b/bn_django/journal/templates/journal/microentry_list.html new file mode 100644 index 0000000..aac07e7 --- /dev/null +++ b/bn_django/journal/templates/journal/microentry_list.html @@ -0,0 +1,28 @@ +{% extends "journal/base.html" %} + +{% block path %}{{block.parent}} + »<a href="/journal/microentries/"> microentries</a> + »<a href="/journal/microentries/{{ object.id }}"> {{ object.title }}</a>{%endif%} + +{% block title %}Journal Micro-entries{% endblock %} + +{% block content %} +<br /> +{% if object_list %} +<ul> + {% for item in object_list %} + <li /><a href="/journal/microentries/{{ item.id }}/"> + {% if item.title %}{{item.title}}{%else%}[Untitled]{%endif%}</a> + ({{item.date}}) + {% endfor %} +</ul> +{% else %} +<p>No entries have been entered yet.</p> +{% endif %} + +{% if is_paginated %} {% if has_previous %} +<a href="./?page={{ previous }}">« previous</a> | +{% endif %} {% if has_next %} +<a href="./?page={{ next }}">next »</a> +{% endif %} {% endif %} +{% endblock %} |