From ef8f66ba6c7a22c277c6315df8040365b5684e6c Mon Sep 17 00:00:00 2001 From: Evgeny Fadeev Date: Wed, 5 Aug 2009 22:50:08 -0400 Subject: added anonymous posting, per-question subscription and fixes by Pothers and some more, see development.log --- templates/authopenid/changeemail.html | 100 +++++++++++++++++++++++++--------- 1 file changed, 73 insertions(+), 27 deletions(-) (limited to 'templates/authopenid/changeemail.html') diff --git a/templates/authopenid/changeemail.html b/templates/authopenid/changeemail.html index 99984b3f..d5acb6c9 100644 --- a/templates/authopenid/changeemail.html +++ b/templates/authopenid/changeemail.html @@ -1,35 +1,81 @@ {% extends "base_content.html" %} {% load i18n %} {% block content %} -
-

- {% trans "Account: change email" %} -

-
-

{% blocktrans %}This is where you can change the email address associated with your account. Please keep this email address up to date so we can send you a password-reset email if you request one.{% endblocktrans %}

-{% if form.errors %} -

{% trans "Please correct errors below:" %}
- {% if form.email.errors %} - {{ form.email.errors|join:", " }} - {% endif %} - {% if form.password.errors %} - {{ form.password.errors|join:", " }} - {% endif %} -

-{% endif %} + +{% ifequal action_type "change" %} +
+ {% trans "Change email" %} +
+

+ {% blocktrans %}change {{email}} info{% endblocktrans %} +

+ {% if form.errors %} +

{% trans "Please correct errors below:" %}
+ {% if form.email.errors %} + {{ form.email.errors|join:", " }} + {% endif %} + {% if form.password.errors %} + {{ form.password.errors|join:", " }} + {% endif %} +

+ {% endif %} -{% if msg %} -

{{ msg }}

-{% endif %} + {% if msg %} +

{{ msg }}

+ {% endif %} -
-
+
+ -
{{ form.email }}
-
{{ form.password }}
+

{{ form.email }}
+ +
+ + +
-

- - -
+ +
+{% endifequal %} +{% ifequal action_type "validate" %} +
+ {% trans "Validate email" %} +
+

+ {% blocktrans %}validate {{email}} info{% endblocktrans %} +

+{% endifequal %} +{% ifequal action_type "keep" %} +
+ {% trans "Email not changed" %} +
+

+ {% blocktrans %}old {{email}} kept{% endblocktrans %} +

+{% endifequal %} +{% ifequal action_type "done_novalidate" %} +
+ {% trans "Email changed" %} +
+

+ {% blocktrans %}your current {{email}} can be used for this{% endblocktrans %} +

+{% endifequal %} +{% ifequal action_type "validation_complete" %} +
+ {% trans "Email verified" %} +
+

+ {% trans "thanks for verifying email" %} +

+{% endifequal %} +{% ifequal action_type "key_not_sent" %} +
+ {% trans "email key not sent" %} +
+

+ {% blocktrans %}email key not sent {{email}} change email here {{change_link}}{% endblocktrans %} +

+{% endifequal %} {% endblock %} + -- cgit v1.2.3-1-g7c22