From fc6cb50256468394d4ee5fdda8fece1c1b6c5112 Mon Sep 17 00:00:00 2001 From: Tim Babych Date: Tue, 21 Oct 2014 13:26:35 +0300 Subject: [PATCH] TNL-281: reduce amount of JS in marketing iframe --- lms/templates/courseware/mktg_course_about.html | 8 +++++++- lms/templates/mktg_iframe.html | 3 +-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/lms/templates/courseware/mktg_course_about.html b/lms/templates/courseware/mktg_course_about.html index 48aa799372..c71113ef35 100644 --- a/lms/templates/courseware/mktg_course_about.html +++ b/lms/templates/courseware/mktg_course_about.html @@ -52,7 +52,13 @@
${_("You Are Enrolled")}
%endif %elif allow_registration: - ${_("Enroll in")} ${course.display_number_with_default | h} + ${_("Enroll in")} ${course.display_number_with_default | h} %if len(course_modes) > 1: ## Translators: This is the second line on a button users can click. The first line is "Enroll in COURSE_NAME" diff --git a/lms/templates/mktg_iframe.html b/lms/templates/mktg_iframe.html index c47de902e7..b6359f89dc 100644 --- a/lms/templates/mktg_iframe.html +++ b/lms/templates/mktg_iframe.html @@ -13,8 +13,7 @@ <%static:css group='style-vendor'/> <%static:css group='style-app'/> - - <%static:js group='main_vendor'/> + <%static:js group='base_vendor'/>