diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2010-08-11 14:16:28 +0800 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2011-04-14 17:23:04 +0800 |
commit | 41f19b6643b44768dc06561c992c04ed6148477d (patch) | |
tree | 6f1c3d1fbe5e15e53d3c028a8e654f05b19e68fb /templates/patchwork/optin.html | |
parent | c2c6a408c7764fa29389ce160f52776c9308d50a (diff) | |
download | patchwork-41f19b6643b44768dc06561c992c04ed6148477d.tar.bz2 patchwork-41f19b6643b44768dc06561c992c04ed6148477d.tar.xz |
Add email opt-out system
We're going to start generating emails on patchwork updates, so firstly
allow people to opt-out of all patchwork communications.
We do this with a 'mail settings' interface, allowing non-registered
users to set preferences on their email address. Logged-in users can do
this through the user profile view.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'templates/patchwork/optin.html')
-rw-r--r-- | templates/patchwork/optin.html | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/templates/patchwork/optin.html b/templates/patchwork/optin.html new file mode 100644 index 0000000..f7c0c04 --- /dev/null +++ b/templates/patchwork/optin.html @@ -0,0 +1,19 @@ +{% extends "base.html" %} + +{% block title %}opt-in{% endblock %} +{% block heading %}opt-in{% endblock %} + +{% block body %} + +<p><strong>Opt-in complete</strong>. You have sucessfully opted back in to +automated email from this patchwork system, using the address +<strong>{{email}}</strong>.</p> +<p>If you later decide that you no longer want to receive automated mail from +patchwork, just visit <a href="{% url patchwork.views.mail.settings %}" +>http://{{site.domain}}{% url patchwork.views.mail.settings %}</a>, or +visit the main patchwork page and navigate from there.</p> +{% if user.is_authenticated %} +<p>Return to your <a href="{% url patchwork.views.user.profile %}">user +profile</a>.</p> +{% endif %} +{% endblock %} |