aboutsummaryrefslogtreecommitdiffstats
path: root/bn_django/journal/templates/journal/microentry_list.html
diff options
context:
space:
mode:
authorbnewbold <bnewbold@eta.mit.edu>2009-01-25 13:05:25 -0500
committerbnewbold <bnewbold@eta.mit.edu>2009-01-25 13:05:25 -0500
commit75bc6a976f98e36a9426e6115d3f628a8fa73762 (patch)
treeabf42e0d4b94146506e0208a08afe8758eb11a93 /bn_django/journal/templates/journal/microentry_list.html
parent296dc07f010d8692028db682d02ef3e88e525f01 (diff)
downloadbnewnet-75bc6a976f98e36a9426e6115d3f628a8fa73762.tar.gz
bnewnet-75bc6a976f98e36a9426e6115d3f628a8fa73762.zip
whew artifact stuff, all basic style
Diffstat (limited to 'bn_django/journal/templates/journal/microentry_list.html')
-rw-r--r--bn_django/journal/templates/journal/microentry_list.html28
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}}
+ &raquo;<a href="/journal/microentries/"> microentries</a>
+ &raquo;<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 }}">&laquo; previous</a> |
+{% endif %} {% if has_next %}
+<a href="./?page={{ next }}">next &raquo;</a>
+{% endif %} {% endif %}
+{% endblock %}