{% extends "list_view.html" %} {% load i18n %} {% comment %} Overrides the outer `content` block, not page.header/page.content-wrapper: those sit inside page_view.html's , a plain div that breaks the flex chain a filled layout needs (specs/027-table-layout-and-column-styling/research.md R5). {% endcomment %} {% comment %} page.actions skips {{ block.super }}: list_view.html's default includes sort, which a table view's own action set must not (FR-007) — see MVPTableViewMixin.actions. {% endcomment %} {% comment %} The breadcrumb trail draws in the app header, not here, so page.header has nothing of its own to draw — it stays declared for a project that filled it. {% endcomment %} {% comment %} app.footer is emptied: the shell's footer belongs to a page that ends, and this one does not — the table spends the whole viewport, so a footer under it either steals rows or never comes into view. {% endcomment %} {% block app.footer %}{% endblock app.footer %} {% block content %} {% block page.content-wrapper %} {% comment %} gap="0" and padding on the bars, never the page: the table meets the shell edges, so a gap or page padding would inset the scroll region. {% endcomment %} {% comment %} Plain flex row, not : a toolbar's trailing slot falls through to a context `actions` variable when unfilled, printing its repr — a bare row keeps that trap shut regardless of page context. {% endcomment %}
{% block page.title %}
{% block page.header %} {% endblock page.header %}

{{ page.title }}

{% if page.subtitle %}

{{ page.subtitle }}

{% endif %}
{% block page.actions %} {% endblock page.actions %}
{% endblock page.title %}
{% block page.content %} {% endblock page.content %}
{% block page.footer %} {% if page_obj %}
{% with start=page_obj.start_index end=page_obj.end_index total=page_obj.paginator.count %} {% blocktrans with name_plural=model_info.verbose_name_plural %} Showing {{ start }}-{{ end }} of {{ total }} {{ name_plural }} {% endblocktrans %} {% endwith %}
{% endif %} {% endblock page.footer %}
{% endblock page.content-wrapper %}
{% endblock content %}