Forgot to add these!

- Legacy-Id: 4720
This commit is contained in:
Adam Roach 2012-07-29 00:39:29 +00:00
parent a05111aad3
commit 533dec821e
2 changed files with 39 additions and 0 deletions

View file

@ -0,0 +1,20 @@
{% extends "registration/base.html" %}
{% block title %}Confirm new email address{% endblock %}
{% block content %}
<div id="confirm_email_page">
<h1>Confirm new email address</h1>
{% if success %}
<p>Your account with login name '{{ username }}' has been updated to include the email address '{{ email }}'.</p>
<p>You may now wish to <a href="{% url ietfauth.views.profile %}">edit your profile</a>.</p>
{% else %}
<p>An error has occured when attempting to add the email address '{{ email }}' to your account '{{ username }}'.<p>
<ul>
{% for field,msgs in error.items %}
{% for msg in msgs %}<li><b>{{field}}</b>: {{msg}}
{% endfor %}{% endfor %}</ul>
{% endif %}
</div>
{% endblock %}

View file

@ -0,0 +1,19 @@
{% extends "registration/base.html" %}
{% block title %}Confirm Profile Update{% endblock %}
{% block content %}
<div id="confirm_profile_update">
<h1>Confirm Confirm Profile Update</h1>
{% if success %}
<p>Your account has been successfully updated to reflect the change(s) you submitted.</p>
{% for email in new_emails %}
<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>
{% endfor %}
<p>You may <a href="{% url ietfauth.views.profile %}">continue editing your profile</a>.</p>
{% else %}
<p>An error has occured when attempting to update your account.<p>
{% if error %}<p>{{ error }}</p>{% endif %}
{% endif %}
</div>
{% endblock %}