▮▮
{{ brand_name }}
{{ 'BACKOFFICE' if is_backoffice else 'FRONTOFFICE' }}
{% if current_user.is_authenticated and not session.get('mfa_pending') %}
{% if not is_backoffice %}
View
Manage Alerts
{% else %}
Dashboard
Users
Mail
Settings
Audit
{% endif %}
{{ current_user.username[:2]|upper }}
{{ current_user.username }}
{{ current_user.role }}
Sign out
{% else %}
{% endif %}
{% with messages = get_flashed_messages(with_categories=true) %} {% if messages %}
{% for cat, msg in messages %}
{{ msg }}
{% endfor %}
{% endif %} {% endwith %} {% block content %}{% endblock %}
{% block scripts %}{% endblock %}