app/django/contrib/admin/templates/admin/pagination.html
author Todd Larsen <tlarsen@google.com>
Fri, 03 Oct 2008 23:17:49 +0000
changeset 272 00cea07656c0
parent 54 03e267d67478
child 323 ff1a9aa48cfd
permissions -rw-r--r--
Move helpers/response_helpers.py to helper/responses.py. Patch by: Todd Larsen Review by: to-be-reviewed

{% 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>