refine account activation email template

This commit is contained in:
mahula 2023-05-09 11:36:28 +02:00
parent 3393c59879
commit fae405b7ab
4 changed files with 33 additions and 23 deletions

View File

@ -8,12 +8,10 @@ block content
include ../includes/salutation.pug
p= t('emails.accountActivation.emailRegistered')
.content.w-container
h2.heading= t('emails.accountActivation.title')
h2.heading= t('emails.general.completeRegistration')
div(class="p_content")= t('emails.accountActivation.pleaseClickLink')
a.button-3.w-button(href=activationLink) #{t('emails.accountActivation.activateAccount')}
//- div(class="p_content")= t('emails.general.orCopyLink')
// TODO make this a reusable block (block new-link)
h2.heading-2 Neuen gültigen Link anfordern
div(class="p_content")= t('emails.accountActivation.duration', { hours: timeDurationObject.hours, minutes: timeDurationObject.minutes })
br
a.button-4.w-button(href=resendLink) #{t('emails.general.newLink')}
div(class="p_content")= t('emails.general.orCopyLink')
a(href=activationLink) #{activationLink}
include ../includes/requestNewLink.pug

View File

@ -0,0 +1,11 @@
//-
requestNewLink
h2.heading-2 Neuen gültigen Link anfordern
if timeDurationObject.minutes == 0
div(class="p_content")= t('emails.general.linkValidity', { hours: timeDurationObject.hours })
else
div(class="p_content")= t('emails.general.linkValidityWithMinutes', { hours: timeDurationObject.hours, minutes: timeDurationObject.minutes })
br
a.button-4.w-button(href=resendLink) #{t('emails.general.newLink')}

View File

@ -2,9 +2,8 @@
"emails": {
"accountActivation": {
"activateAccount": "Konto aktivieren",
"duration": "Der Link hat eine Gültigkeit von {hours} Stunden und {minutes} Minuten. Sollte die Gültigkeit des Links bereits abgelaufen sein, kannst du dir hier einen neuen Link schicken lassen:",
"emailRegistered": "deine E-Mail-Adresse wurde soeben bei Gradido registriert.",
"pleaseClickLink": "Klicke bitte auf diesen Link, um die Registrierung abzuschließen und dein Gradido-Konto zu aktivieren:",
"pleaseClickLink": "Klicke bitte hier, um die Registrierung abzuschließen und dein Gradido-Konto zu aktivieren.",
"subject": "Gradido: E-Mail Überprüfung",
"title": "E-Mail Überprüfung"
},
@ -12,9 +11,8 @@
"contactSupport": "Support kontaktieren",
"emailExists": "Es existiert jedoch zu deiner E-Mail-Adresse schon ein Konto.",
"emailReused": "deine E-Mail-Adresse wurde soeben erneut benutzt, um bei Gradido ein Konto zu registrieren.",
"ifYouAreNotTheOne": "Wenn du nicht derjenige bist, der versucht hat sich erneut zu registrieren, wende dich bitte an unseren Support:",
"onForgottenPasswordClickLink": "Klicke bitte auf den folgenden Link, falls du dein Passwort vergessen haben solltest:",
"onForgottenPasswordCopyLink": "oder kopiere den obigen Link in dein Browserfenster.",
"ifYouAreNotTheOne": "Wenn du nicht versucht hast, dich erneut zu registrieren, wende dich bitte an unseren Support:",
"onForgottenPasswordClickLink": "Solltest du dein Passwort vergessen haben, klicke bitte hier.",
"subject": "Gradido: Erneuter Registrierungsversuch mit deiner E-Mail",
"title": "Erneuter Registrierungsversuch mit deiner E-Mail"
},
@ -53,13 +51,17 @@
},
"general": {
"amountGDD": "Betrag: {amountGDD} GDD",
"completeRegistration": "Registrierung abschließen",
"contribution": "Gemeinwohl-Beitrag: {contributionMemo}",
"contributionDetails": "Beitragsdetails",
"detailsYouFindOnLinkToYourAccount": "Details zur Transaktion findest du in deinem Gradido-Konto:",
"helloName": "Hallo {firstName} {lastName},",
"linkValidity": "Der Link hat eine Gültigkeit von {hours} Stunden.\nSollte die Gültigkeit des Links bereits abgelaufen sein, kannst du dir hier einen neuen Link schicken lassen:",
"linkValidityWithMinutes": "Der Link hat eine Gültigkeit von {hours} Stunden und {minutes} Minuten.\nSollte die Gültigkeit des Links bereits abgelaufen sein, kannst du dir hier einen neuen Link schicken lassen:",
"linkToYourAccount": "Link zu deinem Konto:",
"newLink": "neuer Link",
"orCopyLink": "oder kopiere den obigen Link in dein Browserfenster.",
"newLink": "Neuer Link",
"orCopyLink": "Oder kopiere den Link in dein Browserfenster.",
"pleaseDoNotReply": "Bitte antworte nicht auf diese E-Mail!",
"reset": "zurücksetzen",
"sincerelyYours": "Liebe Grüße",
@ -68,7 +70,6 @@
"yourGradidoTeam": "dein Gradido-Team"
},
"resetPassword": {
"duration": "Der Link hat eine Gültigkeit von {hours} Stunden und {minutes} Minuten. Sollte die Gültigkeit des Links bereits abgelaufen sein, kannst du dir hier einen neuen Link schicken lassen:",
"pleaseClickLink": "Wenn du es warst, klicke bitte auf den Link:",
"subject": "Gradido: Passwort zurücksetzen",
"title": "Passwort zurücksetzen",

View File

@ -2,9 +2,8 @@
"emails": {
"accountActivation": {
"activateAccount": "Activate account",
"duration": "The link has a validity of {hours} hours and {minutes} minutes. If the validity of the link has already expired, you can have a new link sent to you here:",
"emailRegistered": "Your email address has just been registered with Gradido.",
"pleaseClickLink": "Please click on this link to complete the registration and activate your Gradido account:",
"pleaseClickLink": "Please click here to complete the registration and activate your Gradido account.",
"subject": "Gradido: Email Verification",
"title": "Email Verification"
},
@ -12,9 +11,8 @@
"contactSupport": "Contact support",
"emailExists": "However, an account already exists for your email address.",
"emailReused": "Your email address has just been used again to register an account with Gradido.",
"ifYouAreNotTheOne": "If you are not the one who tried to register again, please contact our support:",
"onForgottenPasswordClickLink": "Please click on the following link if you have forgotten your password:",
"onForgottenPasswordCopyLink": "or copy the link above into your browser window.",
"ifYouAreNotTheOne": "If you did not try to register again, please contact our support:",
"onForgottenPasswordClickLink": "If you have forgotten your password, please click here.",
"subject": "Gradido: Try To Register Again With Your Email",
"title": "Try To Register Again With Your Email"
},
@ -53,13 +51,16 @@
},
"general": {
"amountGDD": "Amount: {amountGDD} GDD",
"completeRegistration": "Complete registration",
"contribution": "Contribution: : {contributionMemo}",
"contributionDetails": "Contribution details",
"detailsYouFindOnLinkToYourAccount": "You can find transaction details in your Gradido account:",
"helloName": "Hello {firstName} {lastName}",
"linkValidity": "The link has a validity of {hours} hours.\nIf the validity of the link has already expired, you can have a new link sent to you here:",
"linkValidityWithMinutes": "The link has a validity of {hours} hours and {minutes} minutes.\nIf the validity of the link has already expired, you can have a new link sent to you here:",
"linkToYourAccount": "Link to your account:",
"newLink": "new link",
"orCopyLink": "or copy the link above into your browser window.",
"newLink": "New link",
"orCopyLink": "or copy the link into your browser window.",
"pleaseDoNotReply": "Please do not reply to this email!",
"reset": "reset",
"sincerelyYours": "Kind regards,",
@ -68,7 +69,6 @@
"yourGradidoTeam": "your Gradido team"
},
"resetPassword": {
"duration": "The link has a validity of {hours} hours and {minutes} minutes. If the validity of the link has already expired, you can have a new link sent to you here:",
"pleaseClickLink": "If it was you, please click on the link:",
"subject": "Gradido: Reset password",
"title": "Reset password",