summaryrefslogtreecommitdiffstats
path: root/templates/patchwork/user-link.html
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2008-08-21 13:41:10 +0800
committerJeremy Kerr <jk@ozlabs.org>2008-08-21 13:41:10 +0800
commiteb6db921938c72c0655ca2e381818a471f99f5fa (patch)
tree9d66e6962f134d2116aacaeef3b3abe2177156ae /templates/patchwork/user-link.html
parentecea8781acaa636186880d24351a6b712d4d3ce5 (diff)
downloadpatchwork-eb6db921938c72c0655ca2e381818a471f99f5fa.tar.bz2
patchwork-eb6db921938c72c0655ca2e381818a471f99f5fa.tar.xz
Implement confirmation emails.
To do this, we need to allow sucessive requests for the same confirmation URL. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'templates/patchwork/user-link.html')
-rw-r--r--templates/patchwork/user-link.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/templates/patchwork/user-link.html b/templates/patchwork/user-link.html
index 3eeb527..588a999 100644
--- a/templates/patchwork/user-link.html
+++ b/templates/patchwork/user-link.html
@@ -6,7 +6,7 @@
{% block body %}
-{% if confirmation %}
+{% if confirmation and not error %}
<p>A confirmation email has been sent to {{ confirmation.email }}.</p>
<p>beta link: <a
@@ -19,6 +19,9 @@
<p>There was an error submitting your link request.</p>
{{ form.non_field_errors }}
{% endif %}
+ {% if error %}
+ <ul class="errorlist"><li>{{error}}</li></ul>
+ {% endif %}
<form action="{% url patchwork.views.user.link %}" method="post">
{{linkform.email.errors}}