{% load i18n %}{% spaceless %}
{% if paginated.has_previous %} {% trans "First" %} | {% trans "Prev" %} {% else %} {% trans "First" %} | {% trans "Prev" %} {% endif %} | {% for index, url in paginated.get_pages %} {% if index == paginated.index %} {{ index }} {% else %} {{ index }} {% endif %} {% if not forloop.last %} | {% endif %} {% endfor %} | {% if paginated.has_next %} {% trans "Next" %} | {% trans "Last" %}{% if paginated.show_last_page_index %} ({{ paginated.num_pages }}){% endif %} {% else %} {% trans "Next" %} | {% trans "Last" %} {% endif %} {% if paginated.sizes %}
{% if paginated.sizes_title %} {{ paginated.sizes_title }}: {% endif %} {% for title, url in paginated.get_sizes %} {{ title }} {% if not forloop.last %} | {% endif %} {% endfor %}
{% endif %}
{% endspaceless %}