♻️ Update email templates (#1324)

This commit is contained in:
Luke Vella 2024-09-07 11:11:20 +01:00
parent 988a60debb
commit 0a9ddd1e3d
No known key found for this signature in database
GPG key ID: 469CAD687F0D784C
3 changed files with 3 additions and 4 deletions

View file

@ -62,7 +62,7 @@ export const LoginEmail = ({ code, magicLink, ctx }: LoginEmailProps) => {
i18n={ctx.i18n} i18n={ctx.i18n}
t={ctx.t} t={ctx.t}
i18nKey="login_button" i18nKey="login_button"
defaults="Log in to {domain}" defaults="Log in to {{domain}}"
values={{ domain: ctx.domain }} values={{ domain: ctx.domain }}
ns="emails" ns="emails"
/> />
@ -73,7 +73,7 @@ export const LoginEmail = ({ code, magicLink, ctx }: LoginEmailProps) => {
i18n={ctx.i18n} i18n={ctx.i18n}
t={ctx.t} t={ctx.t}
i18nKey="login_content2" i18nKey="login_content2"
defaults="You're receiving this email because a request was made to login to <domain />. If this wasn't you contact <a>{supportEmail}</a>." defaults="You're receiving this email because a request was made to login to <domain />. If this wasn't you contact <a>{{supportEmail}}</a>."
values={{ supportEmail: ctx.supportEmail }} values={{ supportEmail: ctx.supportEmail }}
components={{ components={{
domain: <Domain ctx={ctx} />, domain: <Domain ctx={ctx} />,

View file

@ -63,7 +63,7 @@ export const NewParticipantConfirmationEmail = ({
i18n={ctx.i18n} i18n={ctx.i18n}
t={ctx.t} t={ctx.t}
i18nKey="newParticipantConfirmation_button" i18nKey="newParticipantConfirmation_button"
defaults="Review response on {domain}" defaults="Review response on {{domain}}"
values={{ domain }} values={{ domain }}
ns="emails" ns="emails"
/> />

View file

@ -62,7 +62,6 @@ export const NewPollEmail = ({
defaultValue: "Manage Poll", defaultValue: "Manage Poll",
ns: "emails", ns: "emails",
})} })}
&rarr;
</Button> </Button>
</EmailLayout> </EmailLayout>
); );