{% load vantage i18n %} {% comment %} The saved-views strip. Rendered only when `saved_view_write_url` is in the context, so a page whose view did not opt in costs nothing. Three controls, and one rule for all of them: **Save degrades to Save as when the view is immutable to you.** `saved_view_mode` has already worked out which of the four reasons applies — not the owner, not a named editor, the view is locked, or there is no view open — and every one of them produces the same affordance, so nobody has to learn the difference before they can write their filter down. Every control is a form, not a script. A saved view is a write, and a write that only happens when JavaScript loaded is a write that sometimes does not happen. {% endcomment %} {% if saved_view_write_url %}
{% icon "shield" %} {% translate "Part of this view no longer applies, so the results may be broader than intended." %}
{% else %}{% icon "shield" %}{% translate "Part of this view no longer applies." %}
{% endif %}