{% load juss_admin_list %}
{% load i18n %}
<nav class="pagination mt-2" role="navigation" aria-label="pagination">

  {% if show_all_url %}
    <a href="{{ show_all_url }}" class="pagination-next">{% trans 'Show all' %}</a>
  {% endif %}

  {% if pagination_required %}
    <ul class="pagination-list">
      {% for i in page_range %}
        {% paginator_number cl i %}
      {% endfor %}
    </ul>
  {% endif %}

  {# <span>{{ cl.result_count }} {% if cl.result_count == 1 %}{{ cl.opts.verbose_name }}{% else %}{{ cl.opts.verbose_name_plural }}{% endif %}</span> #}

{# {% if cl.formset and cl.result_count %} #}
{#   <input type="submit" name="_save" class="default" value="{% trans 'Save' %}"> #}
{# {% endif %} #}
</nav>
