Naprawiony Merge/Update i zmienione nazwy na Push/Pull co bardziej odpowiada dziaƂania.
[redakcja.git] / platforma / templates / registration / head_login.html
1 {% load i18n %}
2
3 {% if user.is_authenticated %}
4 <span class="user_name">{{ user.username }}</span> | 
5 <a href='{% url logout %}?next={{request.get_full_path}}'>{% trans "Log Out" noop %}</a>
6 {% else %}
7 {% url login as login_url %}
8 {% ifnotequal login_url request.path %}
9     <a href='{{ login_url }}?next={{request.get_full_path}}'>{% trans "Log In" noop %}</a>
10 {% endifnotequal %}
11 {% endif %}