{% trans "Showing" %} {{ page_obj.start_index }}–{{ page_obj.end_index }}
{% trans "of" %} {{ page_obj.paginator.count }}
{% if page_obj.has_previous %}
‹ {% trans "Prev" %}
{% endif %}
{% for num in page_obj.paginator.page_range %}
{% if page_obj.number == num %}
{{ num }}
{% elif num > page_obj.number|add:'-3' and num < page_obj.number|add:'3' %}
{{ num }}
{% endif %}
{% endfor %}
{% if page_obj.has_next %}
{% trans "Next" %} ›
{% endif %}