From b61d9b9d0983a61839d6c10aa7a9c11bb7f4bf55 Mon Sep 17 00:00:00 2001 From: Kevin Falcone Date: Tue, 26 Apr 2016 10:26:58 -0400 Subject: [PATCH 1/2] TNL-4396 Apply same fix to edx dashboard This was fixed on the openedx dashboard, but missed on the edx.org theme for the dashboard. --- themes/edx.org/lms/templates/dashboard.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/edx.org/lms/templates/dashboard.html b/themes/edx.org/lms/templates/dashboard.html index afe2874655..026ba826f4 100644 --- a/themes/edx.org/lms/templates/dashboard.html +++ b/themes/edx.org/lms/templates/dashboard.html @@ -210,7 +210,7 @@ from openedx.core.djangolib.js_utils import dump_js_escaped_json, js_escaped_str

- ${_("Email Settings for {course_number}").format(course_number='')} + ${Text(_("Email Settings for {course_number}")).format(HTML(course_number=''))} , ## Translators: this text gives status on if the modal interface (a menu or piece of UI that takes the full focus of the screen) is open or not ${_("window open")} From a3adaa96c46eece106b0e5c2caef077546c9385d Mon Sep 17 00:00:00 2001 From: Qubad786 Date: Fri, 29 Apr 2016 01:12:54 +0500 Subject: [PATCH 2/2] add imports and fix html --- themes/edx.org/lms/templates/dashboard.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/themes/edx.org/lms/templates/dashboard.html b/themes/edx.org/lms/templates/dashboard.html index 026ba826f4..26aede1537 100644 --- a/themes/edx.org/lms/templates/dashboard.html +++ b/themes/edx.org/lms/templates/dashboard.html @@ -10,6 +10,7 @@ from microsite_configuration import microsite from django.core.urlresolvers import reverse import json from openedx.core.djangolib.js_utils import dump_js_escaped_json, js_escaped_string +from openedx.core.djangolib.markup import Text, HTML %> <% @@ -210,7 +211,7 @@ from openedx.core.djangolib.js_utils import dump_js_escaped_json, js_escaped_str

- ${Text(_("Email Settings for {course_number}")).format(HTML(course_number=''))} + ${Text(_("Email Settings for {course_number}")).format(course_number=HTML(''))} , ## Translators: this text gives status on if the modal interface (a menu or piece of UI that takes the full focus of the screen) is open or not ${_("window open")}