@@ -257,7 +257,7 @@ func (p *Presenter) RenderTrustCenterDocumentAccessRejected(
|
||||
return fmt.Sprintf(subjectTrustCenterDocumentAccessRejected, organizationName), textBody, htmlBody, err
|
||||
}
|
||||
|
||||
func (p *Presenter) RenderMagicLink(magicLinkUrlPath string, tokenDuration time.Duration, organizationName string) (subject string, textBody string, htmlBody *string, err error) {
|
||||
func (p *Presenter) RenderMagicLink(magicLinkUrlPath string, tokenString string, tokenDuration time.Duration, organizationName string) (subject string, textBody string, htmlBody *string, err error) {
|
||||
data := struct {
|
||||
PresenterVariables
|
||||
MagicLinkURL string
|
||||
@@ -265,7 +265,7 @@ func (p *Presenter) RenderMagicLink(magicLinkUrlPath string, tokenDuration time.
|
||||
OrganizationName string
|
||||
}{
|
||||
PresenterVariables: p.variables,
|
||||
MagicLinkURL: baseurl.MustParse(p.variables.BaseURL).WithPath(magicLinkUrlPath).MustString(),
|
||||
MagicLinkURL: baseurl.MustParse(p.variables.BaseURL).WithPath(magicLinkUrlPath).WithQuery("token", tokenString).MustString(),
|
||||
DurationInMinutes: int(tokenDuration.Minutes()),
|
||||
OrganizationName: organizationName,
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@ import * as React from 'react';
|
||||
export function Logo() {
|
||||
return (
|
||||
<Img
|
||||
className="max-width-[220px]"
|
||||
style={{ maxWidth: "220px" }}
|
||||
src="{{.SenderCompanyLogoURL}}"
|
||||
alt="{{.SenderCompanyName}}"
|
||||
height="60"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Probo
|
||||
|
||||
Hi {{.FullName}},
|
||||
Hi {{.RecipientFullName}},
|
||||
|
||||
Thanks for joining Probo! Please confirm your email address by clicking the link below:
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Probo
|
||||
|
||||
Hi {{.FullName}},
|
||||
Hi {{.RecipientFullName}},
|
||||
|
||||
Your document export has been completed successfully. Click the link below to download it:
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Probo
|
||||
|
||||
Hi {{.FullName}},
|
||||
Hi {{.RecipientFullName}},
|
||||
|
||||
You're receiving this message because your company, {{.OrganizationName}}, has shared a new compliance document that requires your review and signature.
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Probo
|
||||
|
||||
Hi {{.FullName}},
|
||||
Hi {{.RecipientFullName}},
|
||||
|
||||
Your framework export has been completed successfully. Click the link below to download it:
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Probo
|
||||
|
||||
Hi {{.FullName}},
|
||||
Hi {{.RecipientFullName}},
|
||||
|
||||
You have been invited to join organization {{.OrganizationName}} on Probo. Click the link below to accept the invitation:
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
Probo
|
||||
|
||||
Hi {{.FullName}},
|
||||
Hi {{.RecipientFullName}},
|
||||
|
||||
Please use this link to connect to Probo:
|
||||
Please use this link to connect to {{.OrganizationName}}'s Compliance Page:
|
||||
|
||||
{{.MagicLinkURL}}
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Probo
|
||||
|
||||
Hi {{.FullName}},
|
||||
Hi {{.RecipientFullName}},
|
||||
|
||||
You have requested a password reset for your Probo account. Click the link below to reset your password:
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Probo
|
||||
|
||||
Hi {{.FullName}},
|
||||
Hi {{.RecipientFullName}},
|
||||
|
||||
You have been granted access to {{.OrganizationName}}'s compliance page! Click the link below to access it:
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Probo
|
||||
|
||||
Hi {{.FullName}},
|
||||
Hi {{.RecipientFullName}},
|
||||
|
||||
Your access request to the following files in {{.OrganizationName}}'s compliance page has been rejected:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user