- {% if request.user.is_authenticated %}
- {% if request.user.is_superuser %}
- <a href="{% url admin_index %}">{% trans "administration" %}</a>
- {% endif %}
- <a href="{{ request.user.get_profile_url }}">{{ request.user.username }}</a> {% get_score_badge request.user %}
- <a href="{% url logout %}">{% trans "logout" %}</a>
- {% else %}
- <a href="{% url auth_signin %}">{% trans "login" %}</a>
- {% endif %}
- <a href="{% url about %}">{% trans "about" %}</a>
- <a href="{% url faq %}">{% trans "faq" %}</a>