- django-cas-consumer i django-cas-provider nie są już wymagane.
[redakcja.git] / project / templates / registration / head_login.html
1 {% if user.is_authenticated %}
2 <span class="user_name">{{ user.username }}</span> | 
3 <a href='{% url logout %}?next={{request.get_full_path}}'>Wyloguj</a>
4 {% else %}
5 {% url login as login_url %}
6 {% ifnotequal login_url request.path %}
7     <a href='{{ login_url }}?next={{request.get_full_path}}'>Logowanie</a>
8 {% endifnotequal %}
9
10 {% endif %}