{% load django_tables2 %} {# Custom pagination controls to render nicely with Bootstrap CSS. smart_pages requires EnhancedPaginator. #}
{% if table.paginator.num_pages > 1 %} {% endif %}
Showing {{ table.page.start_index }}-{{ table.page.end_index }} of {{ total }} {% if total == 1 %} {{ table.data.verbose_name }} {% else %} {{ table.data.verbose_name_plural }} {% endif %}