{% load static %}
{% if request.user.is_authenticated %} {% endif %}

{{ APP_CONFIG.identity.display_name|default:"microSYS" }}{% if user.scope %} - {{ user.scope.name }}{% endif %}

{% block header %}{% endblock %}
{% if user.is_authenticated %}
{% if user.profile.profile_pic %} {{ user.username }} {% else %}
{% endif %} {{ user.username }}
{% else %} {% if request.resolver_match.url_name != 'login' %} {% endif %} {% endif %}