aboutsummaryrefslogtreecommitdiffstats
path: root/bn_django/journal/templates/journal/microentry_list.html
blob: aac07e7e27e628aca17ec036f87deb21af1bcc52 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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 %}