diff --git a/templates/base.html b/templates/base.html index d748f14..e3c9947 100644 --- a/templates/base.html +++ b/templates/base.html @@ -20,18 +20,19 @@ {% if has_authorized_cookie %} {% if current_user.is_authenticated %} - - Zalogowany: + + Zalogowany: {{ current_user.username }} - + {% else %} - - Przeglądasz jako + + Przeglądasz jako gość - + {% endif %} {% endif %} + {% if request.endpoint != 'system_auth' %} {% if current_user.is_authenticated and current_user.is_admin %}