{% extends 'web_theme_base.html' %} {% load i18n %} {% load theme_tags %} {% load autoadmin_tags %} {% block web_theme_head %} {% if user.is_authenticated %} {% get_login_redirect_url %} {% endif %} {% endblock %} {% block html_title %}{% trans 'Login' %}{% endblock %} {% if user.is_authenticated %} {% block web_theme_content %} {% get_login_redirect_url %}

{% trans 'You are already logged in' %}

{% trans 'Redirecting you to the website entry point in 5 seconds.' %}

{% blocktrans %}Or click here if redirection doesn't work.{% endblocktrans %}

{% endblock %} {% else %} {% block content_plain %} {% auto_admin_properties %} {% if auto_admin_properties.account %}

{% trans "First time login" %}

{% endif %}

{% block project_name %}{% endblock %}

{% trans 'Login' %}

{% get_web_theme_setting "VERBOSE_LOGIN" as verbose_login %} {% if verbose_login %} {% include 'verbose_login.html' %} {% endif %} {% endblock %} {% endif %}