diff --git a/public/images/emails/newtopic.png b/public/images/emails/newtopic.png new file mode 100644 index 0000000000..bc5718563a Binary files /dev/null and b/public/images/emails/newtopic.png differ diff --git a/src/topics/follow.js b/src/topics/follow.js index 55f88ef304..f607edd9c2 100644 --- a/src/topics/follow.js +++ b/src/topics/follow.js @@ -259,6 +259,7 @@ module.exports = function (Topics) { subject: '[' + (meta.config.title || 'NodeBB') + '] ' + title, intro: '[[notifications:user_posted_to, ' + postData.user.username + ', ' + titleEscaped + ']]', postBody: postData.content.replace(/"\/\//g, '"https://'), + username: data.userData.username, userslug: data.userData.userslug, topicSlug: postData.topic.slug, showUnsubscribe: true, diff --git a/src/views/emails/notif_chat.tpl b/src/views/emails/notif_chat.tpl index f1d5a5fc42..275a5bf782 100644 --- a/src/views/emails/notif_chat.tpl +++ b/src/views/emails/notif_chat.tpl @@ -1,13 +1,58 @@ -

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

+ -

{summary}:

-
{message.content}
+ + -[[email:notif.chat.cta]] + + + + + - + + + + + + +
+ +
+ + + + + + + + + + + + + +
+

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

+

{summary}:

+
+ {message.content} +
+ + + + + +
+ +     [[email:notif.chat.cta]]     + +
+ +
+

[[email:closing]]

+

{site_title}

+
+
+ -
-

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

\ No newline at end of file +