{% extends "base.html" %} {% load i18n %} {% comment %} Copyright 2010 Canonical Ltd. This software is licensed under the GNU Affero General Public License version 3 (see the file LICENSE). {% endcomment %} {% block html_extra %}data-qa-id="account_emails"{% endblock %} {% block title %} {% blocktrans %}{{ account_displayname }}'s email addresses{% endblocktrans %} {% endblock %} {% block extra_header_top %} {% endblock %} {% block text_title %}

{% trans "Your email addresses" %}

{% endblock %} {% block content %}

{% if not verified_emails and not unverified_emails %}

{% blocktrans %}You have no email addresses associated with your account.{% endblocktrans %}

{% endif %} {% if verified_emails %}

{% trans "Verified" %}

{% for email in verified_emails %} {% if not readonly %} {% endif %} {% endfor %}
{% if email.is_preferred %} {% trans "(preferred)" %} {% endif %} {% if not email.is_preferred %} {% trans "Delete" %} {% endif %}
{% endif %} {% if unverified_emails %}

{% trans "Unverified" %}

{% for email in unverified_emails %} {% if not readonly %} {% endif %} {% endfor %}
{% if email.is_verifiable %} {% trans "Verify" %} {% endif %} {% trans "Delete" %}
{% endif %} {% if not readonly %}

{% trans "Add email address" %}

{% blocktrans %}Enter your email address, and we will send you instructions on how to verify it.{% endblocktrans %}

{% csrf_token %}
{{ form.newemail }} {% if form.newemail.errors %} {{ form.newemail.errors|first }} {% endif %}

{% trans "Cancel" %}

{% endif %} {% endblock %}