summaryrefslogtreecommitdiff
path: root/templates/admin/pagination.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/admin/pagination.html')
-rw-r--r--templates/admin/pagination.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/templates/admin/pagination.html b/templates/admin/pagination.html
new file mode 100644
index 0000000..0640a46
--- /dev/null
+++ b/templates/admin/pagination.html
@@ -0,0 +1,11 @@
+{% load admin_list %}
+{% load i18n %}
+<p class="paginator">
+{% if pagination_required %}
+{% for i in page_range %}
+ {% paginator_number cl i %}
+{% endfor %}
+{% endif %}
+{{ cl.result_count }} {% ifequal cl.result_count 1 %}{{ cl.opts.verbose_name|escape }}{% else %}{{ cl.opts.verbose_name_plural }}{% endifequal %}
+{% if show_all_url %}&nbsp;&nbsp;<a href="{{ show_all_url }}" class="showall">{% trans 'Show all' %}</a>{% endif %}
+</p>