{% load i18n %} {% if page.has_other_pages %} {% if page.has_previous %} {% trans "Previous page" %} {% endif %} {% if has_next and has_previous %} {% endif %} {% if page.has_next %} {% trans "Next page" %} {% endif %} {% endif %}