{% comment %} Copyright 2010 Canonical Ltd. This software is licensed under the GNU Affero General Public License version 3 (see the file LICENSE). {% endcomment %} {% load i18n %} {% load static_url %} {% block title %}{% trans "Log in" %}{% endblock %} {% if embedded %} {% endif %} {% block extra_header %}{% endblock %}
{% block menu %}
{% if user.is_authenticated %} {% include "widgets/ubuntu/logout-button.html" %} {% else %} {% include "widgets/ubuntu/login-button.html" %} {% endif %}
{% endblock %}
{% block text_title %}{% endblock %}
{% if readonly %}
{% blocktrans %}We are currently in read-only mode. That means that at the moment you can't create new accounts, update your personal information, or request password reminders.{% endblocktrans %}
{% endif %} {% if messages %} {% for message in messages %}

{{ message }}

{% endfor %} {% endif %}
{% block content %}{% endblock %}
{% if not embedded %} {% block language_footer %} {% endblock %} {% endif %}
{% if google_analytics_id or rpconfig.ga_snippet %} {% load google_analytics %} {% endif %}