diff --git a/apps/main/templates/base.html b/apps/main/templates/base.html index c1fcedd0cb..ab7c60ca26 100644 --- a/apps/main/templates/base.html +++ b/apps/main/templates/base.html @@ -181,7 +181,7 @@ {% block web_theme_user_navigation %}
  • {% trans "User" %}: - {% if user.is_anonymous %} + {% if not user.is_authenticated %} {% trans "Anonymous" %} {% else %} {{ user.get_full_name|default:user }} @@ -202,7 +202,7 @@
  • {% endif %} {% get_setting "LOGIN_URL" as login_url %} -
  • {% if user.is_anonymous %}{% trans "Login" %}{% else %}{% trans "Logout" %}{% endif %}
  • +
  • {% if not user.is_authenticated %}{% trans "Login" %}{% else %}{% trans "Logout" %}{% endif %}
  • {% endblock %} {% block web_theme_main_navigation %}