{% load i18n cyclope_utils %}
{% if user.is_authenticated %} {% with profile=user.get_profile %} {% if profile %} {{ user.get_full_name|default:user.username }} {% else %} {{ user.username }} ({% trans "Create profile" %}) {% endif %} / {% trans "Log out" %} {% endwith %} {% else %} {% trans "Log in" %} {% endif %} {% if LANGUAGES|length > 1 %}
{% csrf_token %}
{% endif %}