{% load i18n %} {% if site_announcement %}
{{ site_announcement|safe }}
{% endif %} {% for message in messages %}
{% if message.tags == "error" %} {% elif message.tags == "success" %} {% elif message.tags == "info" %} {% elif message.tags == "warning" %} {% elif message.tags == "danger warning" %} {% endif %} {{ message|safe }}
{% endfor %} {% if fake_time %}
{% blocktrans trimmed %} You are currently seeing a preview of what the site would look like at {{ fake_time }}. {% endblocktrans %} {% if user.is_staff %} {% trans "Set fake time" %} » {% endif %}
{% endif %} {% if pretend_facilities and add_pretend_facilities_header %}
{% blocktrans trimmed with facilities=pretend_facilities|join:", " %} You are currently seeing a preview of what the site would look like from inside the facilities {{ facilities }}. {% endblocktrans %} {% if user.is_staff %} {% trans "Pretend to be in facilities" %} » {% endif %}
{% endif %} {% if currently_impersonating and add_impersonation_header %}
{% trans "Now impersonating" %} {{ user.get_full_name }} ({{ user.username }} - {{ user.email }}). {% trans "Stop impersonating" %} »
{% endif %}