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