2015-01-17 23:08:41 +01:00
|
|
|
{% extends "account/base.html" %}
|
|
|
|
{% load account i18n %}
|
2023-04-16 22:11:32 +02:00
|
|
|
{% block title %}{{ block.super }} - {% translate "Confirm E-mail Address" %}{% endblock title %}
|
|
|
|
{% block page_title %}{% translate "Confirm E-Mail Address" %}{% endblock %}
|
2015-01-17 23:08:41 +01:00
|
|
|
|
|
|
|
{% block content %}
|
2023-04-16 22:11:32 +02:00
|
|
|
{% if confirmation %}
|
|
|
|
{% user_display confirmation.email_address.user as user_display %}
|
|
|
|
<p>{% blocktranslate with confirmation.email_address.email as email trimmed %}Please confirm that
|
|
|
|
<a href="mailto:{{ email }}">{{ email }}</a> is an e-mail address for user {{ user_display }}.
|
|
|
|
{% endblocktranslate %}</p>
|
|
|
|
<form method="post" action="{% url 'account_confirm_email' confirmation.key %}">
|
|
|
|
{% csrf_token %}
|
|
|
|
<button type="submit" class="btn btn-default">{% translate 'Confirm' %}</button>
|
|
|
|
</form>
|
|
|
|
{% else %}
|
|
|
|
{% url 'account_email' as email_url %}
|
|
|
|
<p>{% blocktranslate trimmed %}This e-mail confirmation link expired or is invalid. Please
|
|
|
|
<a href="{{ email_url }}">issue a new e-mail confirmation request</a>.{% endblocktranslate %}</p>
|
|
|
|
{% endif %}
|
2015-01-17 23:08:41 +01:00
|
|
|
{% endblock content %}
|