|
@@ -146,9 +146,7 @@ templates.registered = ctaTemplate({
|
|
|
},
|
|
},
|
|
|
secondaryMessage() {
|
|
secondaryMessage() {
|
|
|
return [
|
|
return [
|
|
|
- `If you have any questions or problems, please contact ${
|
|
|
|
|
- settings.adminEmail
|
|
|
|
|
- }`
|
|
|
|
|
|
|
+ `If you have any questions or problems, please contact ${settings.adminEmail}`
|
|
|
]
|
|
]
|
|
|
},
|
|
},
|
|
|
ctaText() {
|
|
ctaText() {
|
|
@@ -165,9 +163,7 @@ templates.canceledSubscription = ctaTemplate({
|
|
|
},
|
|
},
|
|
|
message() {
|
|
message() {
|
|
|
return [
|
|
return [
|
|
|
- `We are sorry to see you cancelled your ${
|
|
|
|
|
- settings.appName
|
|
|
|
|
- } premium subscription. Would you mind giving us some feedback on what the site is lacking at the moment via this quick survey?`
|
|
|
|
|
|
|
+ `We are sorry to see you cancelled your ${settings.appName} premium subscription. Would you mind giving us some feedback on what the site is lacking at the moment via this quick survey?`
|
|
|
]
|
|
]
|
|
|
},
|
|
},
|
|
|
secondaryMessage() {
|
|
secondaryMessage() {
|
|
@@ -292,9 +288,7 @@ templates.verifyEmailToJoinTeam = ctaTemplate({
|
|
|
},
|
|
},
|
|
|
message(opts) {
|
|
message(opts) {
|
|
|
return [
|
|
return [
|
|
|
- `Please click the button below to join the team and enjoy the benefits of an upgraded ${
|
|
|
|
|
- settings.appName
|
|
|
|
|
- } account.`
|
|
|
|
|
|
|
+ `Please click the button below to join the team and enjoy the benefits of an upgraded ${settings.appName} account.`
|
|
|
]
|
|
]
|
|
|
},
|
|
},
|
|
|
ctaText(opts) {
|
|
ctaText(opts) {
|
|
@@ -348,9 +342,7 @@ templates.ownershipTransferConfirmationPreviousOwner = NoCTAEmailTemplate({
|
|
|
: `<b>${projectName}</b>`
|
|
: `<b>${projectName}</b>`
|
|
|
return [
|
|
return [
|
|
|
`As per your request, we have made ${nameAndEmail} the owner of ${projectNameDisplay}.`,
|
|
`As per your request, we have made ${nameAndEmail} the owner of ${projectNameDisplay}.`,
|
|
|
- `If you haven't asked to change the owner of ${projectNameDisplay}, please get in touch with us via ${
|
|
|
|
|
- settings.adminEmail
|
|
|
|
|
- }.`
|
|
|
|
|
|
|
+ `If you haven't asked to change the owner of ${projectNameDisplay}, please get in touch with us via ${settings.adminEmail}.`
|
|
|
]
|
|
]
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
@@ -403,23 +395,17 @@ templates.userOnboardingEmail = NoCTAEmailTemplate({
|
|
|
message(opts, isPlainText) {
|
|
message(opts, isPlainText) {
|
|
|
const learnLatexLink = EmailMessageHelper.displayLink(
|
|
const learnLatexLink = EmailMessageHelper.displayLink(
|
|
|
'Learn LaTeX in 30 minutes',
|
|
'Learn LaTeX in 30 minutes',
|
|
|
- `${
|
|
|
|
|
- settings.siteUrl
|
|
|
|
|
- }/learn/latex/Learn_LaTeX_in_30_minutes?utm_source=overleaf&utm_medium=email&utm_campaign=onboarding`,
|
|
|
|
|
|
|
+ `${settings.siteUrl}/learn/latex/Learn_LaTeX_in_30_minutes?utm_source=overleaf&utm_medium=email&utm_campaign=onboarding`,
|
|
|
isPlainText
|
|
isPlainText
|
|
|
)
|
|
)
|
|
|
const templatesLinks = EmailMessageHelper.displayLink(
|
|
const templatesLinks = EmailMessageHelper.displayLink(
|
|
|
'Find a beautiful template',
|
|
'Find a beautiful template',
|
|
|
- `${
|
|
|
|
|
- settings.siteUrl
|
|
|
|
|
- }/latex/templates?utm_source=overleaf&utm_medium=email&utm_campaign=onboarding`,
|
|
|
|
|
|
|
+ `${settings.siteUrl}/latex/templates?utm_source=overleaf&utm_medium=email&utm_campaign=onboarding`,
|
|
|
isPlainText
|
|
isPlainText
|
|
|
)
|
|
)
|
|
|
const collaboratorsLink = EmailMessageHelper.displayLink(
|
|
const collaboratorsLink = EmailMessageHelper.displayLink(
|
|
|
'Work with your collaborators',
|
|
'Work with your collaborators',
|
|
|
- `${
|
|
|
|
|
- settings.siteUrl
|
|
|
|
|
- }/learn/how-to/Sharing_a_project?utm_source=overleaf&utm_medium=email&utm_campaign=onboarding`,
|
|
|
|
|
|
|
+ `${settings.siteUrl}/learn/how-to/Sharing_a_project?utm_source=overleaf&utm_medium=email&utm_campaign=onboarding`,
|
|
|
isPlainText
|
|
isPlainText
|
|
|
)
|
|
)
|
|
|
const siteLink = EmailMessageHelper.displayLink(
|
|
const siteLink = EmailMessageHelper.displayLink(
|
|
@@ -438,9 +424,7 @@ templates.userOnboardingEmail = NoCTAEmailTemplate({
|
|
|
isPlainText
|
|
isPlainText
|
|
|
)
|
|
)
|
|
|
return [
|
|
return [
|
|
|
- `Thanks for signing up for ${
|
|
|
|
|
- settings.appName
|
|
|
|
|
- } recently. We hope you've been finding it useful! Here are some key features to help you get the most out of the service:`,
|
|
|
|
|
|
|
+ `Thanks for signing up for ${settings.appName} recently. We hope you've been finding it useful! Here are some key features to help you get the most out of the service:`,
|
|
|
`${learnLatexLink}: In this tutorial we provide a quick and easy first introduction to LaTeX with no prior knowledge required. By the time you are finished, you will have written your first LaTeX document!`,
|
|
`${learnLatexLink}: In this tutorial we provide a quick and easy first introduction to LaTeX with no prior knowledge required. By the time you are finished, you will have written your first LaTeX document!`,
|
|
|
`${templatesLinks}: If you're looking for a template or example to get started, we've a large selection available in our template gallery, including CVs, project reports, journal articles and more.`,
|
|
`${templatesLinks}: If you're looking for a template or example to get started, we've a large selection available in our template gallery, including CVs, project reports, journal articles and more.`,
|
|
|
`${collaboratorsLink}: One of the key features of Overleaf is the ability to share projects and collaborate on them with other users. Find out how to share your projecs with your colleagues in this quick how-to guide.`,
|
|
`${collaboratorsLink}: One of the key features of Overleaf is the ability to share projects and collaborate on them with other users. Find out how to share your projecs with your colleagues in this quick how-to guide.`,
|
|
@@ -485,12 +469,8 @@ templates.securityAlert = NoCTAEmailTemplate({
|
|
|
`We are writing to let you know that ${actionDescribed} on ${dateFormatted} at ${timeFormatted} GMT.`,
|
|
`We are writing to let you know that ${actionDescribed} on ${dateFormatted} at ${timeFormatted} GMT.`,
|
|
|
...message,
|
|
...message,
|
|
|
`If this was you, you can ignore this email.`,
|
|
`If this was you, you can ignore this email.`,
|
|
|
- `If this was not you, we recommend getting in touch with our support team at ${
|
|
|
|
|
- settings.adminEmail
|
|
|
|
|
- } to report this as potentially suspicious activity on your account.`,
|
|
|
|
|
- `We also encourage you to read our ${helpLink} to keeping your ${
|
|
|
|
|
- settings.appName
|
|
|
|
|
- } account safe.`
|
|
|
|
|
|
|
+ `If this was not you, we recommend getting in touch with our support team at ${settings.adminEmail} to report this as potentially suspicious activity on your account.`,
|
|
|
|
|
+ `We also encourage you to read our ${helpLink} to keeping your ${settings.appName} account safe.`
|
|
|
]
|
|
]
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|