fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Naprawiony Merge/Update i zmienione nazwy na Push/Pull co bardziej odpowiada dziaĆania.
[redakcja.git]
/
platforma
/
templates
/
registration
/
head_login.html
diff --git
a/platforma/templates/registration/head_login.html
b/platforma/templates/registration/head_login.html
index
5eb353d
..
19c9c12
100644
(file)
--- a/
platforma/templates/registration/head_login.html
+++ b/
platforma/templates/registration/head_login.html
@@
-1,10
+1,11
@@
+{% load i18n %}
+
{% if user.is_authenticated %}
<span class="user_name">{{ user.username }}</span> |
{% if user.is_authenticated %}
<span class="user_name">{{ user.username }}</span> |
-<a href='{% url logout %}?next={{request.get_full_path}}'>
Wyloguj
</a>
+<a href='{% url logout %}?next={{request.get_full_path}}'>
{% trans "Log Out" noop %}
</a>
{% else %}
{% url login as login_url %}
{% ifnotequal login_url request.path %}
{% else %}
{% url login as login_url %}
{% ifnotequal login_url request.path %}
- <a href='{{ login_url }}?next={{request.get_full_path}}'>
Logowanie
</a>
+ <a href='{{ login_url }}?next={{request.get_full_path}}'>
{% trans "Log In" noop %}
</a>
{% endifnotequal %}
{% endifnotequal %}
-
{% endif %}
{% endif %}