{# Licence banner (base.html, staff only); quiet when healthy, louder as it runs down. #} {% if license_status %} {% if license_status.state == "locked" %}
{% elif license_status.state == "grace" %} {% elif license_status.state == "invalid" %} {% elif license_status.state == "trial" %} {% elif license_status.state == "licensed" and license_status.days_left <= 14 %} {% endif %} {% endif %} {# Subscriber-cap (licence limit) banner -- independent of the expiry banner above. #} {% if cap_status %} {% if cap_status.enforcing %} {% else %} {% endif %} {% if cap_status.unmanaged %} {% endif %} {% endif %}