X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/3193141f55df20910cf8ba35f9e669d79c90d3f4..e2ee27b5f3c92f9930204427249513378ce1bb77:/platforma/templates/registration/head_login.html diff --git a/platforma/templates/registration/head_login.html b/platforma/templates/registration/head_login.html index 5eb353d0..560ae728 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" %} {% else %} {% url login as login_url %} {% ifnotequal login_url request.path %} - Logowanie + {% trans "Log In" %} {% endifnotequal %} - {% endif %}