From de55da21709429e6ddc21934bc6f337c9c65c464 Mon Sep 17 00:00:00 2001 From: Fatima Sohail <68312464+sohailfatima@users.noreply.github.com> Date: Thu, 31 Oct 2024 20:54:17 +0500 Subject: [PATCH] fix: added font styles for email digest browser compatibility (#35750) --- .../templates/notifications/digest_content.html | 4 ++-- .../templates/notifications/digest_footer.html | 2 +- .../templates/notifications/digest_header.html | 6 +++--- .../notifications/edx_ace/email_digest/email/body.html | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/openedx/core/djangoapps/notifications/templates/notifications/digest_content.html b/openedx/core/djangoapps/notifications/templates/notifications/digest_content.html index df1de6171a..d482cd0c44 100644 --- a/openedx/core/djangoapps/notifications/templates/notifications/digest_content.html +++ b/openedx/core/djangoapps/notifications/templates/notifications/digest_content.html @@ -1,5 +1,5 @@ {% for notification_app in email_content %} -

+

{{ notification_app.title }}

{% if notification_app.help_text %} @@ -29,7 +29,7 @@ /> -
+
{{ notification.email_content | truncatechars_html:600 | safe }}
diff --git a/openedx/core/djangoapps/notifications/templates/notifications/digest_footer.html b/openedx/core/djangoapps/notifications/templates/notifications/digest_footer.html index 4fa903d127..34f4bf09d8 100644 --- a/openedx/core/djangoapps/notifications/templates/notifications/digest_footer.html +++ b/openedx/core/djangoapps/notifications/templates/notifications/digest_footer.html @@ -1,4 +1,4 @@ - +
- @@ -28,7 +28,7 @@ diff --git a/openedx/core/djangoapps/notifications/templates/notifications/edx_ace/email_digest/email/body.html b/openedx/core/djangoapps/notifications/templates/notifications/edx_ace/email_digest/email/body.html index a15f4f6ebf..4d4daa7ca2 100644 --- a/openedx/core/djangoapps/notifications/templates/notifications/edx_ace/email_digest/email/body.html +++ b/openedx/core/djangoapps/notifications/templates/notifications/edx_ace/email_digest/email/body.html @@ -3,7 +3,7 @@
-
diff --git a/openedx/core/djangoapps/notifications/templates/notifications/digest_header.html b/openedx/core/djangoapps/notifications/templates/notifications/digest_header.html index 1f22ced200..84a702d4c2 100644 --- a/openedx/core/djangoapps/notifications/templates/notifications/digest_header.html +++ b/openedx/core/djangoapps/notifications/templates/notifications/digest_header.html @@ -19,7 +19,7 @@
+ {{ digest_frequency }} email digest
- + {{update.title}}
+