1 {% extends "base.html" %}
3 {% block title %}opt-out{% endblock %}
4 {% block heading %}opt-out{% endblock %}
8 <p><strong>Opt-out confirmation email sent</strong></p>
9 <p>An opt-out confirmation mail has been sent to
10 <strong>{{confirmation.email}}</strong>, containing a link. Please click on
11 that link to confirm your opt-out.</p>
14 <p class="error">{{error}}</p>
18 <p>This form allows you to opt-out of automated email from patchwork.</p>
19 <p>If you opt-out of email, Patchwork may still email you if you do certain
20 actions yourself (such as create a new patchwork account), but will not send
21 you unsolicited email.</p>
22 When you submit it, one email will be sent to your address with a link to click
23 to finalise the opt-out. Patchwork does this to prevent someone opting you out
24 without your consent.</p>
25 <form method="post" action="">
28 <div style="padding: 0.5em 1em 2em;">
29 {{form.email.label_tag}}: {{form.email}}
31 <input type="submit" value="Send me an opt-out link">
35 {% if error and admins %}
36 <p>If you are having trouble opting out, please email
37 {% for admin in admins %}
38 {% if admins|length > 1 and forloop.last %} or {% endif %}
39 {{admin.0}} <<a href="mailto:{{admin.1}}">{{admin.1}}</a
40 >>{% if admins|length > 2 and not forloop.last %}, {% endif %}
46 {% if user.is_authenticated %}
47 <p>Return to your <a href="{% url 'patchwork.views.user.profile' %}">user