{% load i18n ui %}{% comment %} Out-of-date banner (#179): results kept on the page after an input changed. It says what changed since they were made and what happens next. While their replacement is on the way (``updating``) it is an info alert with the progress inside (``body``); otherwise a warning alert with one action, usually "Recalculate". The results below it stay readable at full contrast, inside a ``stale-content`` block (an edge, and sparklines greyed). Parameters: id, title, changes (sentences), note, updating, body (a template included inside, with the page's context), action_label and action_href (an optional link). {% endcomment %}
{% if updating %}{% icon "refresh" %}{% else %}{% icon "clock" %}{% endif %}

{{ title }}

{% if changes %}

{{ changes|join:" " }}

{% endif %} {% if note %}

{{ note }}

{% endif %} {% if body %}{% include body %}{% endif %} {% if action_href %}

{{ action_label }}

{% endif %}