Fix xss-linter directives from edx-ace templates
PROD-508
This commit is contained in:
@@ -34,7 +34,7 @@
|
||||
{% trans "If you didn't request this change, you can disregard this email - we have not yet reset your password." as tmsg %}{{ tmsg | force_escape }}
|
||||
<br />
|
||||
</p>
|
||||
## xss-lint: disable=django-trans-missing-escape
|
||||
{# xss-lint: disable=django-trans-missing-escape #}
|
||||
{% trans "Create Password" as course_cta_text %}
|
||||
|
||||
{% include "ace_common/edx_ace/common/return_to_course_cta.html" with course_cta_text=course_cta_text course_cta_url=reset_link %}
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
{% endfilter %}
|
||||
<br />
|
||||
</p>
|
||||
## xss-lint: disable=django-trans-missing-escape
|
||||
{# xss-lint: disable=django-trans-missing-escape #}
|
||||
{% trans "Confirm Email Change" as course_cta_text %}
|
||||
{% include "ace_common/edx_ace/common/return_to_course_cta.html" with course_cta_text=course_cta_text course_cta_url=confirm_link %}
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
{% trans "If you didn't request this change, you can disregard this email - we have not yet reset your password." as tmsg %}{{ tmsg | force_escape }}
|
||||
<br />
|
||||
</p>
|
||||
## xss-lint: disable=django-trans-missing-escape
|
||||
{# xss-lint: disable=django-trans-missing-escape #}
|
||||
{% trans "Change my Password" as course_cta_text %}
|
||||
|
||||
{# email client support for style sheets is pretty spotty, so we have to inline all of these styles #}
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
{% endfilter %}
|
||||
<br />
|
||||
</p>
|
||||
## xss-lint: disable=django-trans-missing-escape
|
||||
{# xss-lint: disable=django-trans-missing-escape #}
|
||||
{% trans "Finish Your Registration" as button_cta_text %}
|
||||
{% include "ace_common/edx_ace/common/return_to_course_cta.html" with course_cta_text=button_cta_text course_cta_url=registration_url %}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
{% endblocktrans %}
|
||||
{% endfilter %}
|
||||
</p>
|
||||
## xss-lint: disable=django-trans-missing-escape
|
||||
{# xss-lint: disable=django-trans-missing-escape #}
|
||||
{% trans "Resume your course now" as course_cta_text %}
|
||||
{% include "ace_common/edx_ace/common/return_to_course_cta.html" with course_cta_text=course_cta_text%}
|
||||
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
{% interpolate_html tmsg start_strong='<strong>'|safe end_strong='</strong>'|safe %}
|
||||
{% endif %}
|
||||
</p>
|
||||
## xss-lint: disable=django-trans-missing-escape
|
||||
{# xss-lint: disable=django-trans-missing-escape #}
|
||||
{% trans "Keep learning" as course_cta_text %}
|
||||
{% include "ace_common/edx_ace/common/return_to_course_cta.html" with course_cta_text=course_cta_text%}
|
||||
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
{% interpolate_html tmsg start_strong='<strong>'|safe end_strong='</strong>'|safe %}
|
||||
{% endif %}
|
||||
</p>
|
||||
## xss-lint: disable=django-trans-missing-escape
|
||||
{# xss-lint: disable=django-trans-missing-escape #}
|
||||
{% trans "Start learning now" as course_cta_text %}
|
||||
{% include "ace_common/edx_ace/common/return_to_course_cta.html" with course_cta_text=course_cta_text%}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user