From 9da21a5cfb22b3e1086b57b61607249e91742930 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wolfgang=20Hu=C3=9F?= Date: Tue, 20 Dec 2022 14:06:25 +0100 Subject: [PATCH] Replace greeting formular by include and add imprint by this --- backend/src/emails/templates/accountActivation/html.pug | 5 +---- .../src/emails/templates/addedContributionMessage/html.pug | 5 +---- backend/src/emails/templates/contributionConfirmed/html.pug | 5 +---- backend/src/emails/templates/contributionRejected/html.pug | 5 +---- backend/src/emails/templates/resetPassword/html.pug | 5 +---- .../src/emails/templates/transactionLinkRedeemed/html.pug | 5 +---- backend/src/emails/templates/transactionReceived/html.pug | 5 +---- 7 files changed, 7 insertions(+), 28 deletions(-) diff --git a/backend/src/emails/templates/accountActivation/html.pug b/backend/src/emails/templates/accountActivation/html.pug index e25737394..6075fa8a8 100644 --- a/backend/src/emails/templates/accountActivation/html.pug +++ b/backend/src/emails/templates/accountActivation/html.pug @@ -17,7 +17,4 @@ html(lang=locale) = t('emails.accountActivation.duration', { hours: timeDurationObject.hours, minutes: timeDurationObject.minutes }) br a(href=resendLink) #{resendLink} - p(style='margin-top: 24px;') - = t('emails.general.sincerelyYours') - br - = t('emails.general.yourGradidoTeam') + include ../greatingFormularImprint.pug diff --git a/backend/src/emails/templates/addedContributionMessage/html.pug b/backend/src/emails/templates/addedContributionMessage/html.pug index 7232358a4..e7410c0f0 100644 --- a/backend/src/emails/templates/addedContributionMessage/html.pug +++ b/backend/src/emails/templates/addedContributionMessage/html.pug @@ -13,7 +13,4 @@ html(lang=locale) = " " a(href=overviewURL) #{overviewURL} p= t('emails.general.pleaseDoNotReply') - p(style='margin-top: 24px;') - = t('emails.general.sincerelyYours') - br - = t('emails.general.yourGradidoTeam') + include ../greatingFormularImprint.pug diff --git a/backend/src/emails/templates/contributionConfirmed/html.pug b/backend/src/emails/templates/contributionConfirmed/html.pug index 7a8f026ae..4ff17ffd4 100644 --- a/backend/src/emails/templates/contributionConfirmed/html.pug +++ b/backend/src/emails/templates/contributionConfirmed/html.pug @@ -13,7 +13,4 @@ html(lang=locale) = " " a(href=overviewURL) #{overviewURL} p= t('emails.general.pleaseDoNotReply') - p(style='margin-top: 24px;') - = t('emails.general.sincerelyYours') - br - = t('emails.general.yourGradidoTeam') + include ../greatingFormularImprint.pug diff --git a/backend/src/emails/templates/contributionRejected/html.pug b/backend/src/emails/templates/contributionRejected/html.pug index fdbbf23ec..531f75543 100644 --- a/backend/src/emails/templates/contributionRejected/html.pug +++ b/backend/src/emails/templates/contributionRejected/html.pug @@ -13,7 +13,4 @@ html(lang=locale) = " " a(href=overviewURL) #{overviewURL} p= t('emails.general.pleaseDoNotReply') - p(style='margin-top: 24px;') - = t('emails.general.sincerelyYours') - br - = t('emails.general.yourGradidoTeam') + include ../greatingFormularImprint.pug diff --git a/backend/src/emails/templates/resetPassword/html.pug b/backend/src/emails/templates/resetPassword/html.pug index 6a15eaf79..53ffbcd04 100644 --- a/backend/src/emails/templates/resetPassword/html.pug +++ b/backend/src/emails/templates/resetPassword/html.pug @@ -17,7 +17,4 @@ html(lang=locale) = t('emails.resetPassword.duration', { hours: timeDurationObject.hours, minutes: timeDurationObject.minutes }) br a(href=resendLink) #{resendLink} - p(style='margin-top: 24px;') - = t('emails.general.sincerelyYours') - br - = t('emails.general.yourGradidoTeam') + include ../greatingFormularImprint.pug diff --git a/backend/src/emails/templates/transactionLinkRedeemed/html.pug b/backend/src/emails/templates/transactionLinkRedeemed/html.pug index 062bc8059..fb561f5c5 100644 --- a/backend/src/emails/templates/transactionLinkRedeemed/html.pug +++ b/backend/src/emails/templates/transactionLinkRedeemed/html.pug @@ -16,7 +16,4 @@ html(lang=locale) = " " a(href=overviewURL) #{overviewURL} p= t('emails.general.pleaseDoNotReply') - p(style='margin-top: 24px;') - = t('emails.general.sincerelyYours') - br - = t('emails.general.yourGradidoTeam') + include ../greatingFormularImprint.pug diff --git a/backend/src/emails/templates/transactionReceived/html.pug b/backend/src/emails/templates/transactionReceived/html.pug index da17f2e97..e9e84990f 100644 --- a/backend/src/emails/templates/transactionReceived/html.pug +++ b/backend/src/emails/templates/transactionReceived/html.pug @@ -12,7 +12,4 @@ html(lang=locale) = " " a(href=overviewURL) #{overviewURL} p= t('emails.general.pleaseDoNotReply') - p(style='margin-top: 24px;') - = t('emails.general.sincerelyYours') - br - = t('emails.general.yourGradidoTeam') + include ../greatingFormularImprint.pug