{# @description The list-view "filter" action: a button, with an applied-filter count badge, that opens a filter modal. #} {# @prop label:text | default:"Filter" | description:"The button's text." #} {# @prop icon:text | default:"filter" | description:"The button's icon." #} {% load i18n %} {% if filter %} {% comment %} The badge's own z-index loses to the sticky app header's (#287). mvp/tailwind/base.css raises it, scoped to `.mvp-page-fill` — the one layout where nothing ever scrolls the badge toward the header. {% endcomment %}
{% if applied_filters %} {{ applied_filter_count }} {% endif %}
{% if clear_filters_url %} {% endif %} {% endif %}