Merge pull request #8207 from amir-qayyum-khan/add_ccx_enable_to_settings

Added ccx enable/disable flag to advance settings and show hide ccx coach option on lms
This commit is contained in:
Sarina Canelake
2015-06-02 11:52:17 -04:00
7 changed files with 111 additions and 4 deletions

View File

@@ -83,6 +83,10 @@ class CourseMetadata(object):
if not settings.FEATURES.get('ENABLE_VIDEO_BUMPER'):
filtered_list.append('video_bumper')
# Do not show enable_ccx if feature is not enabled.
if not settings.FEATURES.get('CUSTOM_COURSES_EDX'):
filtered_list.append('enable_ccx')
return filtered_list
@classmethod