theme/templates/paginator.html

Sat, 19 Mar 2016 00:50:44 +0100

author
David Douard <david.douard@logilab.fr>
date
Sat, 19 Mar 2016 00:50:44 +0100
changeset 42
3c30fc0f8ce0
parent 36
9507107a1133
permissions
-rw-r--r--

[theme] add '(last updated on xxx)' in article timestamps when available

36
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff changeset
1 {% if DEFAULT_PAGINATION %}
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff changeset
2 <p class="paginator">
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff changeset
3 {% if articles_page.has_previous() %}
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff changeset
4 <a href="{{ SITEURL }}/{{ articles_previous_page.url }}">&laquo;</a>
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff changeset
5 {% endif %}
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff changeset
6 Page {{ articles_page.number }} / {{ articles_paginator.num_pages }}
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff changeset
7 {% if articles_page.has_next() %}
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff changeset
8 <a href="{{ SITEURL }}/{{ articles_next_page.url }}">&raquo;</a>
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff changeset
9 {% endif %}
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff changeset
10 </p>
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff changeset
11 {% endif %}

mercurial