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