X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/ddd996af0536a83a4c187843e0d21797b2126e34..020ad779bc86249cd11cb8aa4970420b16789f55:/platforma/templates/registration/head_login.html diff --git a/platforma/templates/registration/head_login.html b/platforma/templates/registration/head_login.html index 5eb353d0..19c9c123 100644 --- a/platforma/templates/registration/head_login.html +++ b/platforma/templates/registration/head_login.html @@ -1,10 +1,11 @@ +{% load i18n %} + {% if user.is_authenticated %} {{ user.username }} | -Wyloguj +{% trans "Log Out" noop %} {% else %} {% url login as login_url %} {% ifnotequal login_url request.path %} - Logowanie + {% trans "Log In" noop %} {% endifnotequal %} - {% endif %}