{% extends 'main/base.html' %} {% load i18n %} {% load static %} {% load autoadmin_tags %} {% load project_tags %} {% load theme_tags %} {% block web_theme_head %} {% if user.is_authenticated %} {% get_login_redirect_url %} {% endif %} {% endblock %} {% block html_title %}{% project_name %} :: {% 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 %}

{% project_name %}

{% trans 'Login' %}

{% endblock %} {% endif %} {% block web_theme_stylesheets %} {% endblock web_theme_stylesheets %} {% block project_name %}{% endblock %}