Add unsubscribe

This commit is contained in:
rubenwardy
2020-12-05 20:36:09 +00:00
parent 5fe3b0b459
commit 085f0b49c6
11 changed files with 267 additions and 26 deletions

View File

@@ -24,8 +24,14 @@
{% endblock %}
{% block footer %}
You are receiving this email because you are a registered user of ContentDB, and have email notifications enabled.<br>
You are receiving this email because you are a registered user of ContentDB,
and have email notifications enabled. <br>
<a href="{{ abs_url_for('users.email_notifications', username=notification.user.username) }}">
{{ _("Manage your preferences") }}
</a>
|
<a href="{{ abs_url_for('users.unsubscribe', token=sub.token) }}">
{{ _("Unsubscribe") }}
</a>
{% endblock %}