{# @description The band above a full-page table. A bar that is always shown holds the title and the page's actions. A panel under it holds search, filters and anything else, and a toggle in the bar opens and closes it. The choice is remembered in the browser. #} {# @prop title:text | description:"Start of the bar: the heading and anything beside it." #} {# @prop actions:text | description:"End of the bar: the page's own actions. Always shown." #} {# @prop note:text | description:"Words shown in a badge beside the toggle, open or closed, for something in the panel the reader should know about, such as how many filters are applied." #} {# @prop storage_key:text | default:"mvp-table-toolbar" | description:"Name the open or closed choice is remembered under." #} {# @prop class:text | description:"Extra classes on the toolbar's root element." #} {# @slot Search, filters, buttons — the panel's content. With none, there is no panel and no toggle. #} {% load i18n mvp %}
{{ title }}
{{ actions }} {% if not slot|slot_is_empty %} {% if note %} {{ note }} {% endif %} {% endif %}
{% if not slot|slot_is_empty %}
{{ slot }}
{% endif %}