Skip to content

Commit 77de554

Browse files
committed
Merged [4720] from adam@nostrum.com:
Forgot to add these! - Legacy-Id: 4723 Note: SVN reference [4720] has been migrated to Git commit 533dec8
2 parents 848738b + 533dec8 commit 77de554

2 files changed

Lines changed: 39 additions & 0 deletions

File tree

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{% extends "registration/base.html" %}
2+
3+
{% block title %}Confirm new email address{% endblock %}
4+
5+
{% block content %}
6+
<div id="confirm_email_page">
7+
<h1>Confirm new email address</h1>
8+
{% if success %}
9+
<p>Your account with login name '{{ username }}' has been updated to include the email address '{{ email }}'.</p>
10+
<p>You may now wish to <a href="{% url ietfauth.views.profile %}">edit your profile</a>.</p>
11+
{% else %}
12+
<p>An error has occured when attempting to add the email address '{{ email }}' to your account '{{ username }}'.<p>
13+
<ul>
14+
{% for field,msgs in error.items %}
15+
{% for msg in msgs %}<li><b>{{field}}</b>: {{msg}}
16+
{% endfor %}{% endfor %}</ul>
17+
18+
{% endif %}
19+
</div>
20+
{% endblock %}
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{% extends "registration/base.html" %}
2+
3+
{% block title %}Confirm Profile Update{% endblock %}
4+
5+
{% block content %}
6+
<div id="confirm_profile_update">
7+
<h1>Confirm Confirm Profile Update</h1>
8+
{% if success %}
9+
<p>Your account has been successfully updated to reflect the change(s) you submitted.</p>
10+
{% for email in new_emails %}
11+
<p><b>A confirmation email has been sent to {{email}}. It will be added to your account after you click on the link it contains.</b></p>
12+
{% endfor %}
13+
<p>You may <a href="{% url ietfauth.views.profile %}">continue editing your profile</a>.</p>
14+
{% else %}
15+
<p>An error has occured when attempting to update your account.<p>
16+
{% if error %}<p>{{ error }}</p>{% endif %}
17+
{% endif %}
18+
</div>
19+
{% endblock %}

0 commit comments

Comments
 (0)