{% load i18n heroicons %} {% if request.user.is_authenticated %} {% if request.user.can_access_dashboard %} {% heroicon_micro "user" class="inline align-text-bottom w-4 h-4 me-1" aria_hidden=true %} My {{ ORG_SHORT_NAME }} {% else %} {% heroicon_micro "user" class="inline align-text-bottom w-4 h-4 me-1" aria_hidden=true %} {{ request.user }} {% endif %} {% else %} {% heroicon_micro "user" class="inline align-text-bottom w-4 h-4 me-1" aria_hidden=true %} {% trans "Login" %} {% endif %}