diff --git a/public/images/emails/unreadpost.png b/public/images/emails/unreadpost.png new file mode 100644 index 0000000000..8228478618 Binary files /dev/null and b/public/images/emails/unreadpost.png differ diff --git a/src/topics/follow.js b/src/topics/follow.js index 62ee424eea..5d0de0e5a5 100644 --- a/src/topics/follow.js +++ b/src/topics/follow.js @@ -265,6 +265,7 @@ module.exports = function (Topics) { topicSlug: postData.topic.slug, postCount: postData.topic.postcount, base_url: nconf.get('url'), + showUnsubscribe: true, }, next); } else { winston.debug('[topics.notifyFollowers] uid ' + toUid + ' does not have post notifications enabled, skipping.'); diff --git a/src/views/emails/notif_post.tpl b/src/views/emails/notif_post.tpl index 4fd360575f..d85ed96606 100644 --- a/src/views/emails/notif_post.tpl +++ b/src/views/emails/notif_post.tpl @@ -1,13 +1,56 @@ -

[[email:greeting_with_name, {username}]],

+ -

{intro}:

-
{postBody}
+ + -[[email:notif.post.cta]] + + + + + - + + + + + + +
+ +
+ + + + + + + + + + + + + +
+

{intro}

+
+

{postBody}

+
+ + + + + +
+ +     [[email:notif.post.cta]]     + +
+ +
+

{site_title}

+
+
+ -
-

- [[email:notif.post.unsub.info]] [[email:unsub.cta]]. -

+ diff --git a/src/views/emails/partials/footer.tpl b/src/views/emails/partials/footer.tpl index af6b7d4369..236887425c 100644 --- a/src/views/emails/partials/footer.tpl +++ b/src/views/emails/partials/footer.tpl @@ -3,7 +3,9 @@

-   + + [[email:notif.post.unsub.info]] [[email:unsub.cta]]. +