{% extends "django_tables2/bootstrap.html" %} {% load django_tables2 %} {% load i18n %} {% block pagination %}
{% if table.has_pages %} {% with total=table.total_items start_index=table.start_index end_index=table.end_index %} {% if total == 1 %} {% trans "result" as results %} {% else %} {% trans "results" as results %} {% endif %} {% if total < end_index %}
{% blocktrans %}Showing {{ total }} {{ results }}{% endblocktrans %}
{% else %}
{% blocktrans %}Showing {{ start_index }} - {{ end_index }} of {{ total }} {{ results }}{% endblocktrans %}
{% endif %} {% endwith %} {% endif %}
{% if table.has_pages and table.num_pages > 1 %} {% endif %}
 
{% endblock pagination %}