8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-12-01 09:02:26 +00:00
re2o/templates/admin/pagination.html

14 lines
652 B
HTML
Raw Normal View History

2019-02-17 17:59:06 +00:00
{# Please keep this template in sync with django/contrib/admin one #}
{% load admin_list %}
{% load i18n %}
<ul class="paginator pagination">
{% if pagination_required %}
{% for i in page_range %}
{% paginator_number cl i %}
{% endfor %}
{% endif %}
<li>{{ cl.result_count }} {% if cl.result_count == 1 %}{{ cl.opts.verbose_name }}{% else %}{{ cl.opts.verbose_name_plural }}{% endif %}</li>
{% if show_all_url %}<li><a href="{{ show_all_url }}" class="showall">{% trans 'Show all' %}</a></li>{% endif %}
{% if cl.formset and cl.result_count %}<li><input type="submit" name="_save" class="default" value="{% trans 'Save' %}"/></li>{% endif %}
</ul>