{% load i18n %} {% load static spider_base %} {% url 'auth:login' as loginpath %} {% if SETTINGS.OPEN_FOR_REGISTRATION %} {% url 'auth:signup' as registerpath %} {% endif %}
{% if request.user.is_authenticated %}
{% endif %}
{% include "spider_base/partials/language_box.html" with attrs=" style=\"width:150px\"" %}
{% if request.user.is_authenticated %}
{% block user_actions %} {% trans 'Profile' %} {% trans 'Security' %} {% if request.user.is_superuser or request.user.is_staff %} {% trans 'Admin' %} {% endif %} {% trans 'Logout' %} {% endblock user_actions %}
{% else %} {% if SETTINGS.OPEN_FOR_REGISTRATION %} {% trans 'Register' %} {% endif %} {% if request.path != loginpath %} {% trans 'Login' %} {% endif %} {% endif %}
{% include "spider_base/partials/language_box.html" %}