with_pagination.html 360 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
{% extends "django_tables2/table.html" %}
{% load i18n %}

{% block pagination.cardinality %}{% endblock %}

{% block pagination.current %}
<li></li>
<li class="pull-right">
  <a>
  {% blocktrans with table.page.number as current and table.paginator.num_pages as total %}
  {{ current }}/{{ total }}
  {% endblocktrans %}
  </a>
</li>
<li></li>
{% endblock %}