]> git.ozlabs.org Git - patchwork/blobdiff - templates/patchwork/user-link.html
Patchwork Beta 1.
[patchwork] / templates / patchwork / user-link.html
index 3eeb527392279669e50b01f1918636a36ff4f931..dfad341e8ba3b4391d383bfe3b34408ab811784c 100644 (file)
@@ -6,12 +6,10 @@
 
 {% block body %}
 
-{% if confirmation %}
-<p>A confirmation email has been sent to {{ confirmation.email }}.</p>
-
-<p>beta link: <a
- href="{% url patchwork.views.user.link_confirm key=confirmation.key %}"
- >{% url patchwork.views.user.link_confirm key=confirmation.key %}</a></p>
+{% if confirmation and not error %}
+<p>A confirmation email has been sent to {{ confirmation.email }}. Click
+on the link provided in the email to confirm that this address belongs to
+you.</p>
 
 {% else %}
 
@@ -19,6 +17,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}}