▮▮
{{ 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
{% if current_user.is_admin and backoffice_url %}
Backoffice
{% endif %} {% else %}
Frontoffice
Dashboard
Users
Mail
Settings
Audit
Mail Log
{% endif %}
{% if current_user.has_avatar %}
{% else %}
{{ current_user.initials }}
{% endif %}
{{ 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 %}
{% if request.endpoint != 'auth.login' %} {% endif %} {% block scripts %}{% endblock %}