diff --git a/openedx/core/djangoapps/schedules/management/commands/tests/test_send_upgrade_reminder.py b/openedx/core/djangoapps/schedules/management/commands/tests/test_send_upgrade_reminder.py index 67a8967d46..ab62779a53 100644 --- a/openedx/core/djangoapps/schedules/management/commands/tests/test_send_upgrade_reminder.py +++ b/openedx/core/djangoapps/schedules/management/commands/tests/test_send_upgrade_reminder.py @@ -302,6 +302,8 @@ class TestUpgradeReminder(FilteredQueryCountMixin, CacheIsolationTestCase): for (_name, (_msg, email), _kwargs) in mock_channel.deliver.mock_calls: for template in attr.astuple(email): self.assertNotIn("TEMPLATE WARNING", template) + self.assertNotIn("{{", template) + self.assertNotIn("}}", template) def _get_template_overrides(self): templates_override = deepcopy(settings.TEMPLATES) diff --git a/openedx/core/djangoapps/schedules/templates/schedules/edx_ace/upgradereminder/email/body.html b/openedx/core/djangoapps/schedules/templates/schedules/edx_ace/upgradereminder/email/body.html index 12e039b78c..df23ac1b12 100644 --- a/openedx/core/djangoapps/schedules/templates/schedules/edx_ace/upgradereminder/email/body.html +++ b/openedx/core/djangoapps/schedules/templates/schedules/edx_ace/upgradereminder/email/body.html @@ -34,14 +34,14 @@ {% if course_ids|length > 1 %} {% blocktrans trimmed %} We hope you are enjoying learning with us so far on {{ platform_name }}! A - verified certificate allows you to highlight your new knowledge and skills. An {{ platform_name - }} certificate is official and easily shareable. + verified certificate allows you to highlight your new knowledge and skills. An + {{ platform_name }} certificate is official and easily shareable. {% endblocktrans %} {% else %} {% blocktrans trimmed %} We hope you are enjoying learning with us so far in {{ first_course_name }}! A - verified certificate allows you to highlight your new knowledge and skills. An {{ platform_name - }} certificate is official and easily shareable. + verified certificate allows you to highlight your new knowledge and skills. An + {{ platform_name }} certificate is official and easily shareable. {% endblocktrans %} {% endif %}