{% load proxbox_tags %} {% load i18n %} {# Reusable NetBox-style paginator for plugin list pages. Context: page - a django.core.paginator.Page (EnhancedPage) instance paginator - the EnhancedPaginator that produced ``page`` page_param - the query-string parameter that selects the page number (defaults to "page"; aggregate pages use "vm_page"/"node_page") #} {% with page_param=page_param|default:"page" %} {% if page %}
{# Pages carousel #} {% if paginator.num_pages > 1 %} {% endif %} {# Showing #} {% blocktrans trimmed with start=page.start_index end=page.end_index total=page.paginator.count %} Showing {{ start }}-{{ end }} of {{ total }} {% endblocktrans %} {# Per-page selector #}
{% endif %} {% endwith %}