fix malformed template variable

parent 63d26070
......@@ -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)
......
......@@ -34,14 +34,14 @@
{% if course_ids|length > 1 %}
{% blocktrans trimmed %}
We hope you are enjoying learning with us so far on <strong>{{ platform_name }}</strong>! 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 <strong>{{ first_course_name }}</strong>! 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 %}
</p>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment