{# @description What a list page shows in place of results. One message when there are no records yet, with an add action, and another when a search or filter matched nothing, with a way to clear it. #}
{# @prop icon:text | default:"search" | description:"Icon shown above the heading." #}
{# @prop heading:text | description:"Heading shown when there are no records yet." #}
{# @prop message:text | description:"Optional supporting text under that heading." #}
{# @prop icon_class:text | default:"text-5xl text-base-content/40" | description:"Classes applied to the icon." #}
{# @prop class:text | description:"Extra classes on the wrapper element." #}
{# @prop refinements:text | description:"The search and filters applied now; with any, the no-match message is shown." #}
{# @prop clear_refinements_url:text | description:"Address of the list with search and filters removed." #}
{# @prop model_info:text | description:"The model's names, for the no-match heading." #}
{# @prop directory:text | description:"The view's URL directory; its create_url draws the add action." #}
{# @prop create_form:text | description:"A create form; when given, the add action opens the create modal." #}
{# @prop create_modal_title:text | description:"Heading of the create modal this draws with create_modal." #}
{# @prop request:text | description:"The current request, for the create modal to send the reader back to this page." #}
{# @prop region:text | description:"The id of the list region. Given, Clear all swaps that region in place with htmx rather than loading the page." #}
{# @prop panel:text | description:"The id of the filter panel. Given with region, Clear all refreshes the panel from the same response." #}
{# @prop create_modal:boolean | description:"Draw the create modal with the add action. Set it where nothing else on the page draws one, as on a list page, whose toolbar is hidden while the list is empty." #}
{% load i18n %}
{% trans "Try other words or fewer filters." %}
{{ message }}
{% endif %} {% if directory.create_url %}