From d092bd006856e75d689d17edde57d8b12b4b823d Mon Sep 17 00:00:00 2001 From: elweyn Date: Mon, 7 Nov 2022 10:08:23 +0100 Subject: [PATCH] German email template for rejected contributions. --- .../src/mailer/text/contributionRejected.ts | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 backend/src/mailer/text/contributionRejected.ts diff --git a/backend/src/mailer/text/contributionRejected.ts b/backend/src/mailer/text/contributionRejected.ts new file mode 100644 index 000000000..a101e7a25 --- /dev/null +++ b/backend/src/mailer/text/contributionRejected.ts @@ -0,0 +1,27 @@ +import Decimal from 'decimal.js-light' + +export const contributionRejected = { + de: { + subject: 'Schöpfung wurde abgelehnt', + text: (data: { + senderFirstName: string + senderLastName: string + recipientFirstName: string + recipientLastName: string + contributionMemo: string + contributionAmount: Decimal + overviewURL: string + }): string => + `Hallo ${data.recipientFirstName} ${data.recipientLastName}, + +Dein eingereichter Gemeinwohl-Beitrag "${data.contributionMemo}" wurde soeben von ${data.senderFirstName} ${data.senderLastName} abgelehnt. + +Bitte antworte nicht auf diese E-Mail! + +Mit freundlichen Grüßen, +dein Gradido-Team + + +Link zu deinem Konto: ${data.overviewURL}`, + }, +}