mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-28 05:14:12 +03:00
281d52610f
refs TryGhost/Team#1826 - adds new service package that manages all the email alert notifications for free members and paid subscriptions - includes email templates for free member signup and paid subscription start/cancel - initializes staff service before members to allow managing email alert notifications - passes staff service to members api for triggering alerts
14 lines
382 B
JavaScript
14 lines
382 B
JavaScript
module.exports = function (data) {
|
|
// Be careful when you indent the email, because whitespaces are visible in emails!
|
|
return `
|
|
Congratulations!
|
|
|
|
You have a new free member: "${data.memberData.name}"
|
|
|
|
---
|
|
|
|
Sent to ${data.toEmail} from ${data.siteDomain}.
|
|
If you would no longer like to receive these notifications you can adjust your settings at ${data.staffUrl}.
|
|
`;
|
|
};
|