Unverified Commit 26d42de4 by Tyler Hallada Committed by GitHub

Merge pull request #16773 from edx/thallada/schedules-no-escape-txt

Schedules: turn off HTML escaping for email text fields
parents 08ca2110 144859cd
{% autoescape off %}
{% load i18n %} {% load i18n %}
{% blocktrans trimmed %} {% blocktrans trimmed %}
...@@ -14,3 +15,4 @@ With self-paced courses, you learn on your own schedule. We encourage you to spe ...@@ -14,3 +15,4 @@ With self-paced courses, you learn on your own schedule. We encourage you to spe
Your focused attention will pay off in the end! Your focused attention will pay off in the end!
{% endblocktrans %} {% endblocktrans %}
{% include "schedules/edx_ace/common/upsell_cta.txt"%} {% include "schedules/edx_ace/common/upsell_cta.txt"%}
{% endautoescape %}
{% autoescape off %}
{% load i18n %} {% load i18n %}
{% blocktrans %}Welcome to week {{ week_num }} {% endblocktrans %} {% blocktrans %}Welcome to week {{ week_num }} {% endblocktrans %}
{% endautoescape %}
{% autoescape off %}
{% load i18n %} {% load i18n %}
{% load ace %} {% load ace %}
{% if course_ids|length > 1 %} {% if course_ids|length > 1 %}
...@@ -14,3 +15,4 @@ ...@@ -14,3 +15,4 @@
{% trans "Keep learning" %} <{% with_link_tracking course_url %}> {% trans "Keep learning" %} <{% with_link_tracking course_url %}>
{% endif %} {% endif %}
{% include "schedules/edx_ace/common/upsell_cta.txt"%} {% include "schedules/edx_ace/common/upsell_cta.txt"%}
{% endautoescape %}
{% autoescape off %}
{% if course_ids|length > 1 %} {% if course_ids|length > 1 %}
{{ platform_name }} {{ platform_name }}
{% else %} {% else %}
{{ course_name }} {{ course_name }}
{% endif %} {% endif %}
{% endautoescape %}
{% autoescape off %}
{% load i18n %} {% load i18n %}
{% trans "Keep up the momentum!" %} {% trans "Keep up the momentum!" %}
\ No newline at end of file {% endautoescape %}
{% autoescape off %}
{% load i18n %} {% load i18n %}
{% load ace %} {% load ace %}
{% if course_ids|length > 1 %} {% if course_ids|length > 1 %}
...@@ -16,3 +17,4 @@ ...@@ -16,3 +17,4 @@
{% trans "Start learning now" %} <{% with_link_tracking course_url %}> {% trans "Start learning now" %} <{% with_link_tracking course_url %}>
{% endif %} {% endif %}
{% include "schedules/edx_ace/common/upsell_cta.txt"%} {% include "schedules/edx_ace/common/upsell_cta.txt"%}
{% endautoescape %}
{% autoescape off %}
{% if course_ids|length > 1 %} {% if course_ids|length > 1 %}
{{ platform_name }} {{ platform_name }}
{% else %} {% else %}
{{ course_name }} {{ course_name }}
{% endif %} {% endif %}
{% endautoescape %}
{% autoescape off %}
{% load i18n %} {% load i18n %}
{% if course_ids|length > 1 %} {% if course_ids|length > 1 %}
{% blocktrans %}Keep learning on {{ platform_name }}{% endblocktrans %} {% blocktrans %}Keep learning on {{ platform_name }}{% endblocktrans %}
{% else %} {% else %}
{% blocktrans %}Keep learning in {{course_name}}{% endblocktrans %} {% blocktrans %}Keep learning in {{course_name}}{% endblocktrans %}
{% endif %} {% endif %}
{% endautoescape %}
{% autoescape off %}
{% load i18n %} {% load i18n %}
{% load ace %} {% load ace %}
{% if course_ids|length > 1 %} {% if course_ids|length > 1 %}
...@@ -27,3 +28,4 @@ Upgrade by {{ user_schedule_upgrade_deadline_time }}. ...@@ -27,3 +28,4 @@ Upgrade by {{ user_schedule_upgrade_deadline_time }}.
{% trans "Upgrade now at" %} <{% with_link_tracking upsell_link %}> {% trans "Upgrade now at" %} <{% with_link_tracking upsell_link %}>
{% endif %} {% endif %}
{% endautoescape %}
{% autoescape off %}
{% if course_ids|length > 1 %} {% if course_ids|length > 1 %}
{{ platform_name }} {{ platform_name }}
{% else %} {% else %}
{{ first_course_name }} {{ first_course_name }}
{% endif %} {% endif %}
{% endautoescape %}
{% autoescape off %}
{% load i18n %} {% load i18n %}
{% if course_ids|length > 1 %} {% if course_ids|length > 1 %}
...@@ -5,3 +6,4 @@ ...@@ -5,3 +6,4 @@
{% else %} {% else %}
{% blocktrans %}Upgrade to earn a verified certificate in {{ first_course_name }}{% endblocktrans %} {% blocktrans %}Upgrade to earn a verified certificate in {{ first_course_name }}{% endblocktrans %}
{% endif %} {% endif %}
{% endautoescape %}
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