3 {% if user.is_authenticated %}
4 <span class="user_name">{{ user.username }}</span> |
5 <a href='{% url logout %}?next={{request.get_full_path|urlencode}}'>{% trans "Log Out" %}</a>
7 {% url login as login_url %}
8 {% ifnotequal login_url request.path %}
9 <a href='{{ login_url }}?next={{request.get_full_path|urlencode}}'>{% trans "Log In" %}</a>