summaryrefslogtreecommitdiff
path: root/theme/cccevents/templates/pagination.html
diff options
context:
space:
mode:
authorHans-Peter Oeri <hp@oeri.ch>2018-10-27 08:43:47 +0000
committerHans-Peter Oeri <hp@oeri.ch>2018-10-27 08:43:47 +0000
commitcc1cc2647c681e5275dedbe79af272e0450d7f64 (patch)
tree3f5071d9f25b89b311e09a20b22b9c5a7b225d27 /theme/cccevents/templates/pagination.html
parent17a536b7ffba296f1fc71337ce8aa2910f5ed3fc (diff)
parent928baa83e47a11d765493af38307d247148b0a2e (diff)
Merge branch 'master' into 'master'
re-do in layout See merge request cccschiedsstelle/help.ccc.de!1
Diffstat (limited to 'theme/cccevents/templates/pagination.html')
-rw-r--r--theme/cccevents/templates/pagination.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/theme/cccevents/templates/pagination.html b/theme/cccevents/templates/pagination.html
new file mode 100644
index 0000000..f58cdaf
--- /dev/null
+++ b/theme/cccevents/templates/pagination.html
@@ -0,0 +1,11 @@
1{% if DEFAULT_PAGINATION %}
2<p class="paginator">
3 {% if articles_page.has_previous() %}
4 <a href="{{ SITEURL }}/{{ articles_previous_page.url }}">&laquo;</a>
5 {% endif %}
6 Page {{ articles_page.number }} / {{ articles_paginator.num_pages }}
7 {% if articles_page.has_next() %}
8 <a href="{{ SITEURL }}/{{ articles_next_page.url }}">&raquo;</a>
9 {% endif %}
10</p>
11{% endif %}