8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-28 15:42:25 +00:00
re2o/templates/admin/pagination.html
2019-02-25 17:53:12 +01:00

13 lines
652 B
HTML

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