Updated buttons.
[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 django.contrib.auth.views.logout %}?next={{request.get_full_path}}'>Wyloguj</a>
4 {% else %}
5 {% url django.contrib.auth.views.login as login_url %}
6 {% ifnotequal login_url request.path %}
7     <a href='{% url django.contrib.auth.views.login %}?next={{request.get_full_path}}'>Logowanie</a>
8 {% endifnotequal %}
9
10 {% endif %}