{% comment %} RIMS status banner — surfaces important lifecycle states (withdrawn calls, expired MOUs, terminated scholars) at the top of a detail page so visitors don't read a stale record without context. Usage: {% include "components/status_banner.html" with variant="danger" title="Call withdrawn" message="Applications are no longer being accepted." %} variants: danger → red surface (withdrawn, terminated, rejected) warning → amber surface (expiring, awaiting action) info → neutral surface (informational) Tokens are from the existing design system (no gradients per project rules). {% endcomment %} {% with v=variant|default:"info" %}
{% if v == 'danger' %} {% elif v == 'warning' %} {% else %} {% endif %}
{% if title %}

{{ title }}

{% endif %} {% if message %}

{{ message }}

{% endif %} {% if action_label and action_url %} {% endif %}
{% endwith %}