mirror of
https://github.com/Southampton-RSG/breccia-mapper.git
synced 2026-03-03 03:17:07 +00:00
33 lines
1.0 KiB
HTML
Executable File
33 lines
1.0 KiB
HTML
Executable File
{% extends "account/base.html" %}
|
|
|
|
{% load i18n %}
|
|
{% load account %}
|
|
{% block head_title %}{% trans "Confirm Email Address" %}{% endblock %}
|
|
|
|
|
|
{% block content %}
|
|
|
|
<h3 class="h3" id="head_banner">{% trans "Confirm Email Address" %}</h3>
|
|
|
|
{% if confirmation %}
|
|
|
|
<p class="verification_sent_info" >{% blocktrans with confirmation.email_address.email as email %} Please confirm ownership of <a href="mailto:{{ email }}">{{ email }}</a>.{% endblocktrans %}</p>
|
|
|
|
<form method="post"action="{% url 'account_confirm_email' confirmation.key %}">
|
|
{% csrf_token %}
|
|
<button class="btn btn-success" type="submit">{% trans 'Confirm' %}</button>
|
|
</form>
|
|
|
|
{% else %}
|
|
|
|
{% url 'account_email' as email_url %}
|
|
|
|
<p class="verification_sent_info" >{% blocktrans %}This email confirmation link expired or is invalid. Please <a href="{{ email_url }}">request a new email confirmation</a>. You will be redirected to the login page in 5 seconds.{% endblocktrans %}</p>
|
|
<script>
|
|
setTimeout("location.href = '{% url 'account_login' %}';",5000);
|
|
</script>
|
|
|
|
{% endif %}
|
|
|
|
{% endblock %}
|