[server] Update template
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
{{define "content"}}
|
||||
<p>Hey {{.TrustedUser}}!</p>
|
||||
|
||||
<p><strong>{{.LegacyUser}}</strong> has invited you as a trusted contact.</br>Please open our mobile app to accept or reject their invite.</p>
|
||||
<p><strong>{{.LegacyUser}}</strong> has invited you to be their trusted contact. </p>
|
||||
|
||||
<p>Navigate to <strong>Settings -> Accounts -> Legacy</strong> to proceed further.</p>
|
||||
<p> As a trusted contact, you can recover {{.LegacyUser}}'s account in their absence. </p>
|
||||
<p>To accept the invite, please open the Ente Photos app, and navigate to <strong>Settings -> Account -> Legacy </strong>. </p>
|
||||
|
||||
<p>If you need help with anything, please write back!</p>
|
||||
{{end}}
|
||||
<p>If you need any help, please reply to this email or write to support@ente.io</p>
|
||||
{{end}}
|
||||
@@ -52,7 +52,7 @@ func (c *Controller) sendNotification(ctx context.Context, legacyUserID int64, t
|
||||
|
||||
if newStatus == ente.UserInvitedContact {
|
||||
templateName = InviteTemplate
|
||||
title = "You've been invited to join as trusted contact on Ente!"
|
||||
title = fmt.Sprintf("%s has added you as a Trusted Contact", legacyUser.Email)
|
||||
emailTo = trustedUser.Email
|
||||
inlineImage["content"] = HappyHeaderImage
|
||||
} else if newStatus == ente.UserRevokedContact {
|
||||
|
||||
Reference in New Issue
Block a user