{# The "Configure Filters" modal shared by every page that renders the configurable sidebar. There is ONE layout for the whole app — filter_config.js posts it to /settings/filters. #} {% macro filter_config_modal(filter_layout, filter_default_keys) %} {% from "components/modal.html" import render_modal with context %} {% macro configure_filters_form() %}

{{ _("Drag to reorder. Uncheck to hide a filter.") }}

{% for entry in filter_layout %}
{% endfor %}
{% endmacro %} {{ render_modal("configureFiltersModal", _("Configure Filters"), "", configure_filters_form, action_text=_("Save")) }} {% endmacro %}