From 6a440e18b50ad64be084a17b30a6a4e9ab40a3d4 Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Thu, 6 Jul 2023 11:07:57 +0200 Subject: [PATCH] fix email link to have correct url text --- .../src/emails/__snapshots__/sendEmailVariants.test.ts.snap | 6 +++--- .../emails/templates/includes/contributionDetailsCTA.pug | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/backend/src/emails/__snapshots__/sendEmailVariants.test.ts.snap b/backend/src/emails/__snapshots__/sendEmailVariants.test.ts.snap index fb3a590e4..f05291eab 100644 --- a/backend/src/emails/__snapshots__/sendEmailVariants.test.ts.snap +++ b/backend/src/emails/__snapshots__/sendEmailVariants.test.ts.snap @@ -652,7 +652,7 @@ exports[`sendEmailVariants sendContributionConfirmedEmail result has the correct

Contribution details

To see your common good contributions and related messages, go to the “Creation” menu in your Gradido account and click on the “My contributions” tab.
To account -
Or copy the link into your browser window.
http://localhost/community/contribution +
Or copy the link into your browser window.
http://localhost/community/contributions
Please do not reply to this email.
@@ -820,7 +820,7 @@ exports[`sendEmailVariants sendContributionDeletedEmail result has the correct h

Contribution details

To see your common good contributions and related messages, go to the “Creation” menu in your Gradido account and click on the “My contributions” tab.
To account -
Or copy the link into your browser window.
http://localhost/community/contribution +
Or copy the link into your browser window.
http://localhost/community/contributions
Please do not reply to this email.
@@ -988,7 +988,7 @@ exports[`sendEmailVariants sendContributionDeniedEmail result has the correct ht

Contribution details

To see your common good contributions and related messages, go to the “Creation” menu in your Gradido account and click on the “My contributions” tab.
To account -
Or copy the link into your browser window.
http://localhost/community/contribution +
Or copy the link into your browser window.
http://localhost/community/contributions
Please do not reply to this email.
diff --git a/backend/src/emails/templates/includes/contributionDetailsCTA.pug b/backend/src/emails/templates/includes/contributionDetailsCTA.pug index fc6075314..fb2906419 100644 --- a/backend/src/emails/templates/includes/contributionDetailsCTA.pug +++ b/backend/src/emails/templates/includes/contributionDetailsCTA.pug @@ -4,4 +4,4 @@ div(class="p_content")= t('emails.contribution.toSeeContributionsAndMessages') a.button-3(href=`${communityURL}community/contributions`) #{t('emails.general.toAccount')} div(class="p_content")= t('emails.general.orCopyLink') -a.clink(href=`${communityURL}community/contributions`) #{`${communityURL}community/contribution`} \ No newline at end of file +a.clink(href=`${communityURL}community/contributions`) #{`${communityURL}community/contributions`} \ No newline at end of file