mirror of
https://github.com/vale981/Vulcan
synced 2025-03-10 04:26:41 -04:00
31 lines
No EOL
934 B
JavaScript
31 lines
No EOL
934 B
JavaScript
Telescope.notifications = Object.assign(Telescope.notifications, {
|
|
newComment: {
|
|
properties(data) {
|
|
return Comments.getNotificationProperties(data.comment, data.post);
|
|
},
|
|
subject(properties) {
|
|
return properties.authorName+' left a new comment on your post "' + properties.postTitle + '"';
|
|
},
|
|
emailTemplate: "newComment"
|
|
},
|
|
|
|
newReply: {
|
|
properties(data) {
|
|
return Comments.getNotificationProperties(data.comment, data.post);
|
|
},
|
|
subject(properties) {
|
|
return properties.authorName+' replied to your comment on "'+properties.postTitle+'"';
|
|
},
|
|
emailTemplate: "newReply"
|
|
},
|
|
|
|
newCommentSubscribed: {
|
|
properties(data) {
|
|
return Comments.getNotificationProperties(data.comment, data.post);
|
|
},
|
|
subject(properties) {
|
|
return properties.authorName+' left a new comment on "' + properties.postTitle + '"';
|
|
},
|
|
emailTemplate: "newComment"
|
|
}
|
|
}); |