diff --git a/cms/djangoapps/contentstore/tests/test_course_settings.py b/cms/djangoapps/contentstore/tests/test_course_settings.py index 071b590490..286477228b 100644 --- a/cms/djangoapps/contentstore/tests/test_course_settings.py +++ b/cms/djangoapps/contentstore/tests/test_course_settings.py @@ -118,7 +118,8 @@ class CourseDetailsTestCase(CourseTestCase): with mock.patch.dict('django.conf.settings.MITX_FEATURES', {'ENABLE_MKTG_SITE': True}): response = self.client.get(settings_details_url) - self.assertContains(response, "Course Summary Page") + self.assertNotContains(response, "Course Summary Page") + self.assertNotContains(response, "Send a note to students via email") self.assertContains(response, "course summary page will not be viewable") self.assertContains(response, "Course Start Date") @@ -143,6 +144,7 @@ class CourseDetailsTestCase(CourseTestCase): with mock.patch.dict('django.conf.settings.MITX_FEATURES', {'ENABLE_MKTG_SITE': False}): response = self.client.get(settings_details_url) self.assertContains(response, "Course Summary Page") + self.assertContains(response, "Send a note to students via email") self.assertNotContains(response, "course summary page will not be viewable") self.assertContains(response, "Course Start Date") diff --git a/cms/templates/settings.html b/cms/templates/settings.html index 3f6be3312e..84e9155e6d 100644 --- a/cms/templates/settings.html +++ b/cms/templates/settings.html @@ -91,6 +91,7 @@ from contentstore import utils + % if about_page_editable:

${_("Course Summary Page")} ${_("(for student enrollment and access)")}

@@ -103,6 +104,7 @@ from contentstore import utils
+ % endif % if not about_page_editable: