fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Dodanie fabfile pozwalające na wdrożenie nowej wersji projektu na stigma (przy użyciu...
[redakcja.git]
/
project
/
templates
/
registration
/
head_login.html
diff --git
a/project/templates/registration/head_login.html
b/project/templates/registration/head_login.html
index
ded03e9
..
5eb353d
100644
(file)
--- a/
project/templates/registration/head_login.html
+++ b/
project/templates/registration/head_login.html
@@
-1,10
+1,10
@@
{% 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
django.contrib.auth.views.
logout %}?next={{request.get_full_path}}'>Wyloguj</a>
+<a href='{% url logout %}?next={{request.get_full_path}}'>Wyloguj</a>
{% else %}
{% else %}
-{% url
django.contrib.auth.views.
login as login_url %}
+{% url login as login_url %}
{% ifnotequal login_url request.path %}
{% ifnotequal login_url request.path %}
- <a href='{
% url django.contrib.auth.views.login %
}?next={{request.get_full_path}}'>Logowanie</a>
+ <a href='{
{ login_url }
}?next={{request.get_full_path}}'>Logowanie</a>
{% endifnotequal %}
{% endif %}
{% endifnotequal %}
{% endif %}