Turn off HTML escaping for email text fields

This commit is contained in:
Tyler Hallada
2017-12-04 17:47:50 -05:00
parent bcccd48871
commit 144859cdf2
12 changed files with 25 additions and 1 deletions

View File

@@ -1,3 +1,4 @@
{% autoescape off %}
{% load i18n %}
{% blocktrans trimmed %}
@@ -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!
{% endblocktrans %}
{% include "schedules/edx_ace/common/upsell_cta.txt"%}
{% endautoescape %}

View File

@@ -1 +1,3 @@
{% autoescape off %}
{{ course_name }}
{% endautoescape %}

View File

@@ -1,3 +1,5 @@
{% autoescape off %}
{% load i18n %}
{% blocktrans %}Welcome to week {{ week_num }} {% endblocktrans %}
{% endautoescape %}

View File

@@ -1,3 +1,4 @@
{% autoescape off %}
{% load i18n %}
{% load ace %}
{% if course_ids|length > 1 %}
@@ -14,3 +15,4 @@
{% trans "Keep learning" %} <{% with_link_tracking course_url %}>
{% endif %}
{% include "schedules/edx_ace/common/upsell_cta.txt"%}
{% endautoescape %}

View File

@@ -1,5 +1,7 @@
{% autoescape off %}
{% if course_ids|length > 1 %}
{{ platform_name }}
{% else %}
{{ course_name }}
{% endif %}
{% endautoescape %}

View File

@@ -1,2 +1,4 @@
{% autoescape off %}
{% load i18n %}
{% trans "Keep up the momentum!" %}
{% trans "Keep up the momentum!" %}
{% endautoescape %}

View File

@@ -1,3 +1,4 @@
{% autoescape off %}
{% load i18n %}
{% load ace %}
{% if course_ids|length > 1 %}
@@ -16,3 +17,4 @@
{% trans "Start learning now" %} <{% with_link_tracking course_url %}>
{% endif %}
{% include "schedules/edx_ace/common/upsell_cta.txt"%}
{% endautoescape %}

View File

@@ -1,5 +1,7 @@
{% autoescape off %}
{% if course_ids|length > 1 %}
{{ platform_name }}
{% else %}
{{ course_name }}
{% endif %}
{% endautoescape %}

View File

@@ -1,6 +1,8 @@
{% autoescape off %}
{% load i18n %}
{% if course_ids|length > 1 %}
{% blocktrans %}Keep learning on {{ platform_name }}{% endblocktrans %}
{% else %}
{% blocktrans %}Keep learning in {{course_name}}{% endblocktrans %}
{% endif %}
{% endautoescape %}

View File

@@ -1,3 +1,4 @@
{% autoescape off %}
{% load i18n %}
{% load ace %}
{% if course_ids|length > 1 %}
@@ -27,3 +28,4 @@ Upgrade by {{ user_schedule_upgrade_deadline_time }}.
{% trans "Upgrade now at" %} <{% with_link_tracking upsell_link %}>
{% endif %}
{% endautoescape %}

View File

@@ -1,5 +1,7 @@
{% autoescape off %}
{% if course_ids|length > 1 %}
{{ platform_name }}
{% else %}
{{ first_course_name }}
{% endif %}
{% endautoescape %}

View File

@@ -1,3 +1,4 @@
{% autoescape off %}
{% load i18n %}
{% if course_ids|length > 1 %}
@@ -5,3 +6,4 @@
{% else %}
{% blocktrans %}Upgrade to earn a verified certificate in {{ first_course_name }}{% endblocktrans %}
{% endif %}
{% endautoescape %}