From 455324c5847dd9fb9caddc17daa14b13288eb0ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Ja=C5=A1ek?= Date: Thu, 6 Jun 2024 16:30:49 +0200 Subject: [PATCH] change email template support email (#177) CPCN-601 --- server/settings.py | 3 +++ server/theme/email_footer.html | 2 +- server/theme/email_layout.fr_ca.html | 2 +- server/theme/email_layout.fr_ca.txt | 2 +- server/theme/email_layout.txt | 2 +- 5 files changed, 7 insertions(+), 4 deletions(-) diff --git a/server/settings.py b/server/settings.py index 7d75665..74bbc04 100644 --- a/server/settings.py +++ b/server/settings.py @@ -380,3 +380,6 @@ PERSONAL_DASHBOARD_CARD_TYPE = "6-text-only" AGENDA_PAGE_SIZE = 500 + +SUPPORT_EMAIL_EN = "help-aide@cpnewspro.com" +SUPPORT_EMAIL_FR = SUPPORT_EMAIL_EN diff --git a/server/theme/email_footer.html b/server/theme/email_footer.html index 32fa703..d9f322c 100644 --- a/server/theme/email_footer.html +++ b/server/theme/email_footer.html @@ -1,4 +1,4 @@

Regards,
The Canadian Press Team

-

Contact us at 1-800-268-8149 or support@thecanadianpress.com

+

Contact us at 1-800-268-8149 or {{ config.SUPPORT_EMAIL_EN }}

Visit https://www.thecanadianpress.com/ for more services from Canada's trusted news leader.

diff --git a/server/theme/email_layout.fr_ca.html b/server/theme/email_layout.fr_ca.html index fc18f6a..31ef546 100644 --- a/server/theme/email_layout.fr_ca.html +++ b/server/theme/email_layout.fr_ca.html @@ -14,7 +14,7 @@

Cordialement,
L’équipe de La Presse Canadienne

-

Pour toutes questions, contactez ventes@lapressecanadienne.com du lundi au vendredi, entre 9h et 17h. En dehors de ces heures, écrivez à support@thecanadianpress.com (assistance en anglais seulement).

+

Pour toutes questions, contactez ventes@lapressecanadienne.com du lundi au vendredi, entre 9h et 17h. En dehors de ces heures, écrivez à {{ config.SUPPORT_EMAIL_FR }} (assistance en anglais seulement).

Visitez notre site internet pour plus de services de La Presse Canadienne – respectée, pertinente, fiable.

{% endblock %} diff --git a/server/theme/email_layout.fr_ca.txt b/server/theme/email_layout.fr_ca.txt index 3067514..86f5302 100644 --- a/server/theme/email_layout.fr_ca.txt +++ b/server/theme/email_layout.fr_ca.txt @@ -5,6 +5,6 @@ Cordialement, L’équipe de La Presse Canadienne -Pour toutes questions, contactez ventes@lapressecanadienne.com du lundi au vendredi, entre 9h et 17h. En dehors de ces heures, écrivez à support@thecanadianpress.com (assistance en anglais seulement). +Pour toutes questions, contactez ventes@lapressecanadienne.com du lundi au vendredi, entre 9h et 17h. En dehors de ces heures, écrivez à {{ config.SUPPORT_EMAIL_FR }} (assistance en anglais seulement). Visitez notre https://www.thecanadianpress.com/?lang=fr pour plus de services de La Presse Canadienne – respectée, pertinente, fiable. {% endblock %} \ No newline at end of file diff --git a/server/theme/email_layout.txt b/server/theme/email_layout.txt index 0ec8c66..dda3eb2 100644 --- a/server/theme/email_layout.txt +++ b/server/theme/email_layout.txt @@ -5,6 +5,6 @@ Regards, The Canadian Press Team -Contact us (https://www.thecanadianpress.com/contact/), 1-800-268-8149 or support@thecanadianpress.com. +Contact us (https://www.thecanadianpress.com/contact/), 1-800-268-8149 or {{ config.SUPPORT_EMAIL_EN }}. Visit https://www.thecanadianpress.com/for more services from Canada's trusted news leader. {% endblock %} \ No newline at end of file