{% extends "page_view.html" %} {% load i18n static crispy_forms_tags mvp %} {% block title %} {{ page.title }} {% if page_obj and page_obj.paginator.num_pages > 1 %} {% blocktrans with number=page_obj.number total=page_obj.paginator.num_pages %}(page {{ number }} of {{ total }}){% endblocktrans %} {% endif %} {% endblock title %} {% block page.title %} {% comment %} The page's own action stays at the end of the title row at every width. The controls that act on the list sit in the toolbar below, with the results they change. {% endcomment %} {% block page.actions %} {% endblock page.actions %} {% endblock page.title %} {% block page.content %} {% comment %} Each part of the page is its own block, so a project can replace one and keep the rest: page.toolbar (and inside it page.search, page.summary and page.controls), page.refinements, page.results (and inside it page.empty), and page.pagination. {% endcomment %}
{% block page.toolbar %} {% block page.search %} {% endblock page.search %} {% block page.summary %} {% endblock page.summary %} {% block page.controls %} {% endblock page.controls %} {% endblock page.toolbar %} {% block page.refinements %} {% endblock page.refinements %} {% block page.results %} {% block page.empty %} {% endblock page.empty %} {% endblock page.results %}
{% block page.pagination %} {% if page_obj %}{% endif %} {% endblock page.pagination %} {% endblock page.content %} {% block extra_js %} {{ block.super }} {% endblock extra_js %}