diff --git a/cms/djangoapps/contentstore/views/preview.py b/cms/djangoapps/contentstore/views/preview.py index 09e234d6ea..c33dd46380 100644 --- a/cms/djangoapps/contentstore/views/preview.py +++ b/cms/djangoapps/contentstore/views/preview.py @@ -282,6 +282,7 @@ def _studio_wrap_xblock(xblock, view, frag, context, display_name_only=False): selected_groups_label = get_visibility_partition_info(xblock)['selected_groups_label'] if selected_groups_label: selected_groups_label = _('Access restricted to: {list_of_groups}').format(list_of_groups=selected_groups_label) + course = modulestore().get_course(xblock.location.course_key) template_context = { 'xblock_context': context, 'xblock': xblock, @@ -293,8 +294,10 @@ def _studio_wrap_xblock(xblock, view, frag, context, display_name_only=False): 'can_edit_visibility': context.get('can_edit_visibility', True), 'selected_groups_label': selected_groups_label, 'can_add': context.get('can_add', True), - 'can_move': context.get('can_move', True) + 'can_move': context.get('can_move', True), + 'language': getattr(course, 'language', None) } + html = render_to_string('studio_xblock_wrapper.html', template_context) frag = wrap_fragment(frag, html) return frag diff --git a/cms/envs/help_tokens.ini b/cms/envs/help_tokens.ini index e965feecd8..c2116b42f9 100644 --- a/cms/envs/help_tokens.ini +++ b/cms/envs/help_tokens.ini @@ -1,5 +1,5 @@ # below are the sub-paths to the documentation for the various pages -# NOTE: If any of these page settings change, then their corresponding test should be updated +# NOTE: If any of these page settings change, their corresponding test must be updated # in edx-platform/common/test/acceptance/tests/studio/test_studio.help.py [pages] default = course_author:index.html @@ -12,12 +12,12 @@ updates = course_author:course_assets/handouts_updates.html pages = course_author:course_assets/pages.html files = course_author:course_assets/course_files.html textbooks = course_author:course_assets/textbooks.html -schedule = course_author:set_up_course/setting_up_student_view.html +schedule = course_author:set_up_course/studio_add_course_information/index.html grading = course_author:grading/index.html -team_course = course_author:set_up_course/course_staffing.html#add-course-team-members +team_course = course_author:set_up_course/studio_add_course_information/studio_course_staffing.html team_library = course_author:course_components/libraries.html#give-other-users-access-to-your-library advanced = course_author:index.html -checklist = course_author:set_up_course/creating_new_course.html +checklist = course_author:set_up_course/index.html import_library = course_author:course_components/libraries.html#import-a-library import_course = course_author:releasing_course/export_import_course.html#import-a-course export_library = course_author:course_components/libraries.html#export-a-library @@ -27,11 +27,11 @@ login = course_author:getting_started/index.html register = course_author:getting_started/index.html content_libraries = course_author:course_components/libraries.html content_groups = course_author:course_features/cohorts/cohorted_courseware.html -enrollment_tracks = course_author:course_features/cohorts/cohorted_courseware.html +enrollment_tracks = course_author:course_features/diff_content/enroll_track_courseware.html group_configurations = course_author:course_features/content_experiments/content_experiments_configure.html#set-up-group-configurations-in-edx-studio container = course_author:developing_course/course_components.html#components-that-contain-other-components video = course_author:video/video_uploads.html -certificates = course_author:set_up_course/creating_course_certificates.html +certificates = course_author:set_up_course/studio_add_course_information/studio_creating_certificates.html # below are the language directory names for the different locales [locales] diff --git a/cms/static/sass/elements/_header.scss b/cms/static/sass/elements/_header.scss index d0ff170de5..c83bf84d7a 100644 --- a/cms/static/sass/elements/_header.scss +++ b/cms/static/sass/elements/_header.scss @@ -272,11 +272,11 @@ .wrapper-header { .wrapper-l { - width: flex-grid(8,12); + width: flex-grid(9,12); } .wrapper-r { - width: flex-grid(4,12); + width: flex-grid(3,12); } .branding { diff --git a/cms/templates/course_info.html b/cms/templates/course_info.html index 4080ea7183..ed983c27a5 100644 --- a/cms/templates/course_info.html +++ b/cms/templates/course_info.html @@ -62,7 +62,11 @@ from openedx.core.djangolib.js_utils import (