aboutsummaryrefslogtreecommitdiffstats
path: root/bn_django/journal/templates/journal/entry_list.html
blob: caa07af6db240270ad523199fac27e576acdb00a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{% extends "journal/base.html" %}
{# {% load markup %} #}

{% block title %}Journal Entries{% endblock %}

{% block content %}
<br />
{% if object_list %}
<ul>
  {% for item in object_list %}
  <li /><a href="/journal/entries/{{ item.slug }}/">{{item.title}}
  {% 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 %}