This commit is contained in:
Iliyan Angelov
2025-09-14 23:24:25 +03:00
commit c67067a2a4
71311 changed files with 6800714 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
{% extends "account/base.html" %}
{% load i18n %}
{% block head_title %}
{% trans "Email Address" %}
{% endblock head_title %}
{% block content %}
<h1>{% trans "Email Address" %}</h1>
{% if emailaddresses %}
{% if current_emailaddress %}
<p>
{% trans 'The following email address is associated with your account:' %} <a href="mailto:{{ current_emailaddress.email }}">{{ current_emailaddress.email }}</a>
</p>
{% endif %}
{% if new_emailaddress %}
<p>
{% trans 'Your email address is still pending verification:' %} <a href="mailto:{{ new_emailaddress.email }}">{{ new_emailaddress.email }}</a>
</p>
<form method="post" action="{% url 'account_email' %}">
{% csrf_token %}
<input type="hidden" name="email" value="{{ new_emailaddress.email }}">
<button type="submit" name="action_send">{% trans 'Re-send Verification' %}</button>
</form>
{% endif %}
{% else %}
{% include "account/snippets/warn_no_email.html" %}
{% endif %}
<h2>{% trans "Change Email Address" %}</h2>
<form method="post" action="{% url 'account_email' %}">
{% csrf_token %}
{{ form.as_p }}
<button name="action_add" type="submit">{% trans "Change Email" %}</button>
</form>
{% endblock content %}