{% if page.has_previous %}
{# query is present when this block is included in the search view #}
{% trans 'first' %} 
{% trans 'previous' %}
{% endif %}
{% trans 'Page' %} {{ page.number }} {% trans 'of' %} {{ page.paginator.num_pages }}
{% if page.has_next %}
{% trans 'next' %} 
{% trans 'last' %}
{% endif %}