mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Add link to "change project owner" wiki page in the email template when inviting an existing user to join managed users.
GitOrigin-RevId: a1079a6a54f0c354bef368fe6e9257be4ce0b07e
This commit is contained in:
parent
7ab6f751d9
commit
be8b7dfa1e
1 changed files with 8 additions and 2 deletions
|
@ -376,13 +376,19 @@ templates.verifyEmailToJoinManagedUsers = ctaTemplate({
|
|||
`By joining this group, you'll have access to ${settings.appName} premium features such as additional collaborators, greater maximum compile time, and real-time track changes.`,
|
||||
]
|
||||
},
|
||||
secondaryMessage(opts) {
|
||||
secondaryMessage(opts, isPlainText) {
|
||||
const changeProjectOwnerLink = EmailMessageHelper.displayLink(
|
||||
'change project owner',
|
||||
`${settings.siteUrl}/learn/how-to/How_to_Transfer_Project_Ownership`,
|
||||
isPlainText
|
||||
)
|
||||
|
||||
return [
|
||||
`<b>User accounts in this group are managed by ${_.escape(
|
||||
_formatUserNameAndEmail(opts.admin, 'an admin')
|
||||
)}</b>`,
|
||||
`If you accept, you’ll transfer the management of your ${settings.appName} account to the owner of the group subscription, who will then have admin rights over your account and control over your stuff.`,
|
||||
`If you have personal projects in your ${settings.appName} account that you want to keep separate, that’s not a problem. You can set up another account under a personal email address and change the ownership of your personal projects to the new account. Find out how to change project owner.`,
|
||||
`If you have personal projects in your ${settings.appName} account that you want to keep separate, that’s not a problem. You can set up another account under a personal email address and change the ownership of your personal projects to the new account. Find out how to ${changeProjectOwnerLink}.`,
|
||||
]
|
||||
},
|
||||
ctaURL(opts) {
|
||||
|
|
Loading…
Reference in a new issue