{% load i18n %} {% with table.get_total_count as total %} {% if table.has_total_count %} {% blocktrans count displyed=rows|length %}Displaying {{ displyed }} item of {{ total }}{% plural %}Displaying {{ displyed }} items of {{ total }}{% endblocktrans %} {% else %} {% blocktrans count counter=rows|length %}Displaying {{ counter }} item{% plural %}Displaying {{ counter }} items{% endblocktrans %} {% endif %} {% endwith %} {% if table.has_prev_data or table.has_more_data %} {% endif %}