mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-07 06:25:50 +01:00
@@ -40,6 +40,8 @@
|
|||||||
"notif.post.cta": "Click here to read the full topic",
|
"notif.post.cta": "Click here to read the full topic",
|
||||||
"notif.post.unsub.info": "This post notification was sent to you due to your subscription settings.",
|
"notif.post.unsub.info": "This post notification was sent to you due to your subscription settings.",
|
||||||
|
|
||||||
|
"notif.cta": "Click here to go to forum",
|
||||||
|
|
||||||
"test.text1": "This is a test email to verify that the emailer is set up correctly for your NodeBB.",
|
"test.text1": "This is a test email to verify that the emailer is set up correctly for your NodeBB.",
|
||||||
|
|
||||||
"unsub.cta": "Click here to alter those settings",
|
"unsub.cta": "Click here to alter those settings",
|
||||||
|
|||||||
@@ -220,9 +220,9 @@ function pushToUids(uids, notification, callback) {
|
|||||||
async.eachLimit(uids, 3, function (uid, next) {
|
async.eachLimit(uids, 3, function (uid, next) {
|
||||||
emailer.send('notification', uid, {
|
emailer.send('notification', uid, {
|
||||||
path: notification.path,
|
path: notification.path,
|
||||||
subject: '[' + (meta.config.title || 'NodeBB') + '] ' + notification.bodyShort,
|
subject: '[[notifications:new_notification_from, ' + meta.config.title + ']]',
|
||||||
intro: '[[notifications:new_notification_from, ' + meta.config.title + ']]',
|
intro: utils.stripHTMLTags(notification.bodyShort),
|
||||||
body: notification.bodyLong || notification.bodyShort,
|
body: utils.stripHTMLTags(notification.bodyLong || ''),
|
||||||
showUnsubscribe: true,
|
showUnsubscribe: true,
|
||||||
}, next);
|
}, next);
|
||||||
}, callback);
|
}, callback);
|
||||||
|
|||||||
Reference in New Issue
Block a user