views: add page to list notes by tag
[chloro.git] / chloro / phyll / templates / phyll / note_list.html
1 {% extends "phyll/base.html" %}
2 {% load i18n %}
3
4 {% block content-class %}post-list{% endblock %}
5
6 {% block body %}
7 <div>
8 <h2>{{ view.kwargs.tag }}</h2>
9 <ul>
10 {% for post in object_list %}
11 <li><a href="{{ post.get_absolute_url }}">{{ post.title }} <span>{{ post.creation_timestamp|date:"Y/m/d" }}</a></li>
12 {% endfor %}
13 </ul>
14 </div>
15 {% endblock %}
16
17 {% block bottom-actions %}
18 <a href="edit/">{% trans "Edit" %}</a>
19 <a href="delete/">{% trans "Delete" %}</a>
20 {% endblock %}