{% load i18n %}
{% load paginator %}
{% if is_paginated %}
{% blocktrans %}
{{ first_on_page }}-{{ last_on_page }} of {{ hits }} on page {{ page }} / {{ pages }}
{% endblocktrans %}
{% if show_first %}
{% if url %}
1
{% else %}
1
{% endif %}
{% endif %}
{% for p in page_numbers %}
{% if url %}
{% ifequal p page %}{{ p }}{% else %}{{ p }}{% endifequal %}
{% else %}
{% ifequal p page %}{{ p }}{% else %}{{ p }}{% endifequal %}
{% endif %}
{% if not forloop.last %} |{% endif %}
{% endfor %}
{% if show_last %}
{% if url %}
{{ pages }}
{% else %}
{{ pages }}
{% endif %}
{% endif %}
{% endif %}