pagination.html 632 Bytes
Newer Older
1 2
{% load admin_list %}
{% load i18n %}
Patrick's avatar
Patrick committed
3
<div {% if not is_popup %}style="position:sticky;bottom:0;"{% endif %}>
Patrick's avatar
Patrick committed
4
<p class="paginator">
5 6 7 8 9 10 11 12 13 14
{% if pagination_required %}
{% for i in page_range %}
    {% paginator_number cl i %}
{% endfor %}
{% endif %}
{{ cl.result_count }} {% if cl.result_count == 1 %}{{ cl.opts.verbose_name }}{% else %}{{ cl.opts.verbose_name_plural }}{% endif %}
{% if show_all_url %}&nbsp;&nbsp;<a href="{{ show_all_url }}" class="showall">{% trans 'Show all' %}</a>{% endif %}
{% if cl.formset and cl.result_count %}<input type="submit" name="_save" class="default" value="{% trans 'Save' %}"/>{% endif %}
</p>
</div>