diff --git a/backend/src/emails/__snapshots__/sendEmailVariants.test.ts.snap b/backend/src/emails/__snapshots__/sendEmailVariants.test.ts.snap index f05291eab..da50bbcaf 100644 --- a/backend/src/emails/__snapshots__/sendEmailVariants.test.ts.snap +++ b/backend/src/emails/__snapshots__/sendEmailVariants.test.ts.snap @@ -160,8 +160,7 @@ If the validity of the link has already expired, you can have a new link sent to
\\"facebook\\"\\"Telegram\\"\\"Twitter\\"\\"youtube\\"
-
If you have any further questions, please contact our support.
-
support@gradido.net
\\"Gradido +
If you have any further questions, please contact our support.
support@gradido.net\\"Gradido
Impressum

Privacy Policy
Gradido-Akademie
Institut für Wirtschaftsbionik
Pfarrweg 2
74653 Künzelsau
Deutschland


@@ -330,8 +329,7 @@ exports[`sendEmailVariants sendAccountMultiRegistrationEmail calls "sendEmailTra
\\"facebook\\"\\"Telegram\\"\\"Twitter\\"\\"youtube\\"
-
If you have any further questions, please contact our support.
-
support@gradido.net
\\"Gradido +
If you have any further questions, please contact our support.
support@gradido.net\\"Gradido
Impressum

Privacy Policy
Gradido-Akademie
Institut für Wirtschaftsbionik
Pfarrweg 2
74653 Künzelsau
Deutschland


@@ -497,8 +495,7 @@ exports[`sendEmailVariants sendAddedContributionMessageEmail result has the corr
\\"facebook\\"\\"Telegram\\"\\"Twitter\\"\\"youtube\\"
-
If you have any further questions, please contact our support.
-
support@gradido.net
\\"Gradido +
If you have any further questions, please contact our support.
support@gradido.net\\"Gradido
Impressum

Privacy Policy
Gradido-Akademie
Institut für Wirtschaftsbionik
Pfarrweg 2
74653 Künzelsau
Deutschland


@@ -665,8 +662,7 @@ exports[`sendEmailVariants sendContributionConfirmedEmail result has the correct
\\"facebook\\"\\"Telegram\\"\\"Twitter\\"\\"youtube\\"
-
If you have any further questions, please contact our support.
-
support@gradido.net
\\"Gradido +
If you have any further questions, please contact our support.
support@gradido.net\\"Gradido
Impressum

Privacy Policy
Gradido-Akademie
Institut für Wirtschaftsbionik
Pfarrweg 2
74653 Künzelsau
Deutschland


@@ -833,8 +829,7 @@ exports[`sendEmailVariants sendContributionDeletedEmail result has the correct h
\\"facebook\\"\\"Telegram\\"\\"Twitter\\"\\"youtube\\"
-
If you have any further questions, please contact our support.
-
support@gradido.net
\\"Gradido +
If you have any further questions, please contact our support.
support@gradido.net\\"Gradido
Impressum

Privacy Policy
Gradido-Akademie
Institut für Wirtschaftsbionik
Pfarrweg 2
74653 Künzelsau
Deutschland


@@ -1001,8 +996,7 @@ exports[`sendEmailVariants sendContributionDeniedEmail result has the correct ht
\\"facebook\\"\\"Telegram\\"\\"Twitter\\"\\"youtube\\"
-
If you have any further questions, please contact our support.
-
support@gradido.net
\\"Gradido +
If you have any further questions, please contact our support.
support@gradido.net\\"Gradido
Impressum

Privacy Policy
Gradido-Akademie
Institut für Wirtschaftsbionik
Pfarrweg 2
74653 Künzelsau
Deutschland


@@ -1173,8 +1167,7 @@ If the validity of the link has already expired, you can have a new link sent to
\\"facebook\\"\\"Telegram\\"\\"Twitter\\"\\"youtube\\"
-
If you have any further questions, please contact our support.
-
support@gradido.net
\\"Gradido +
If you have any further questions, please contact our support.
support@gradido.net\\"Gradido
Impressum

Privacy Policy
Gradido-Akademie
Institut für Wirtschaftsbionik
Pfarrweg 2
74653 Künzelsau
Deutschland


@@ -1341,8 +1334,7 @@ exports[`sendEmailVariants sendTransactionLinkRedeemedEmail result has the corre
\\"facebook\\"\\"Telegram\\"\\"Twitter\\"\\"youtube\\"
-
If you have any further questions, please contact our support.
-
support@gradido.net
\\"Gradido +
If you have any further questions, please contact our support.
support@gradido.net\\"Gradido
Impressum

Privacy Policy
Gradido-Akademie
Institut für Wirtschaftsbionik
Pfarrweg 2
74653 Künzelsau
Deutschland


@@ -1508,8 +1500,7 @@ exports[`sendEmailVariants sendTransactionReceivedEmail result has the correct h
\\"facebook\\"\\"Telegram\\"\\"Twitter\\"\\"youtube\\"
-
If you have any further questions, please contact our support.
-
support@gradido.net
\\"Gradido +
If you have any further questions, please contact our support.
support@gradido.net\\"Gradido
Impressum

Privacy Policy
Gradido-Akademie
Institut für Wirtschaftsbionik
Pfarrweg 2
74653 Künzelsau
Deutschland


diff --git a/backend/src/emails/templates/includes/footer.pug b/backend/src/emails/templates/includes/footer.pug index 3ae63e32e..5827b203b 100644 --- a/backend/src/emails/templates/includes/footer.pug +++ b/backend/src/emails/templates/includes/footer.pug @@ -40,16 +40,19 @@ footer .line .footer div(class="footer_p1")= t("emails.footer.contactOurSupport") - div(class="footer_p2")= t("emails.footer.supportEmail") + a( + class="footer_p2" + href='mailto:' + t("emails.footer.supportEmail") + )= t("emails.footer.supportEmail") img.image( alt="Gradido Logo" src="https://gdd.gradido.net/img/brand/green.png" ) div a( - class="terms_of_use" - href="https://gradido.net/de/impressum/" - target="_blank" + class="terms_of_use" + href="https://gradido.net/de/impressum/" + target="_blank" )= t("emails.footer.imprint") br a( diff --git a/frontend/src/components/ContentFooter.spec.js b/frontend/src/components/ContentFooter.spec.js index 29d13bc28..1066abf58 100644 --- a/frontend/src/components/ContentFooter.spec.js +++ b/frontend/src/components/ContentFooter.spec.js @@ -105,7 +105,7 @@ describe('ContentFooter', () => { it('links to the support', () => { expect(wrapper.findAll('a.nav-link').at(3).attributes('href')).toEqual( - 'https://gradido.net/en/contact/', + 'mailto:support@supportmail.com', ) }) @@ -137,12 +137,6 @@ describe('ContentFooter', () => { 'https://docs.google.com/document/d/1jZp-DiiMPI9ZPNXmjsvOQ1BtnfDFfx8BX7CDmA8KKjY/edit?usp=sharing', ) }) - - it('links to the German support-page when locale is de', () => { - expect(wrapper.findAll('a.nav-link').at(3).attributes('href')).toEqual( - 'https://gradido.net/de/contact/', - ) - }) }) }) }) diff --git a/frontend/src/components/ContentFooter.vue b/frontend/src/components/ContentFooter.vue index c563cc23d..720c14e0a 100755 --- a/frontend/src/components/ContentFooter.vue +++ b/frontend/src/components/ContentFooter.vue @@ -44,7 +44,7 @@ > {{ $t('footer.whitepaper') }} - + {{ $t('navigation.support') }} @@ -62,6 +62,7 @@ export default { version: CONFIG.APP_VERSION, hash: CONFIG.BUILD_COMMIT, shortHash: CONFIG.BUILD_COMMIT_SHORT, + supportEmail: CONFIG.COMMUNITY_SUPPORT_MAIL, } }, }