diff --git a/app/templates/email/unread_notifications.html b/app/templates/email/unread_notifications.html index ac2c13ba..7d1e9a06 100644 --- a/app/templates/email/unread_notifications.html +++ b/app/templates/email/unread_notifications.html @@ -15,5 +15,4 @@ {% endfor %} {% endif %} -
Unsubscribe from these emails by un-ticking the 'Receive email - about missed notifications' checkbox.
\ No newline at end of file + \ No newline at end of file diff --git a/app/templates/email/unread_notifications.txt b/app/templates/email/unread_notifications.txt index f8e06ba4..0b1d0878 100644 --- a/app/templates/email/unread_notifications.txt +++ b/app/templates/email/unread_notifications.txt @@ -5,4 +5,4 @@ Here's some notifications you've missed since your last visit: - {{ notification.title }} - {{ url_for('user.notification_goto', notification_id=notification.id, _external=True) }} {% endfor %} -Unsubscribe from these emails by un-ticking the 'Receive email about missed notifications' checkbox at {{ url_for('user.change_settings', _external=True) }}. +Unsubscribe from these emails at {{ url_for('user.user_email_notifs_unsubscribe', user_id=user.id, token=user.verification_token, _external=True) }}. diff --git a/app/templates/user/email_notifs_unsubscribed.html b/app/templates/user/email_notifs_unsubscribed.html new file mode 100644 index 00000000..b8b02885 --- /dev/null +++ b/app/templates/user/email_notifs_unsubscribed.html @@ -0,0 +1,17 @@ +{% extends 'base.html' %} +{% from 'bootstrap/form.html' import render_form %} + +{% block app_content %} +{{ _('You have unsubscribed from emails about unread notifications. We might email you for other reasons, though.') }}
+ +