fix: wrong start date is displayed in susbection modal with xblock's start date so use course context's start date (AA-945)

This commit is contained in:
Sofia Yoon
2021-07-30 11:25:38 -04:00
parent 61b9a523e7
commit a272dd54cf
3 changed files with 7 additions and 10 deletions

View File

@@ -157,7 +157,8 @@ from openedx.core.release import RELEASE_LINE
display_course_number: "${context_course.display_coursenumber | n, js_escaped_string}",
revision: "${context_course.location.branch | n, js_escaped_string}",
self_paced: ${ context_course.self_paced | n, dump_js_escaped_json },
is_custom_relative_dates_active: ${CUSTOM_RELATIVE_DATES.is_enabled(context_course.id) | n, dump_js_escaped_json}
is_custom_relative_dates_active: ${CUSTOM_RELATIVE_DATES.is_enabled(context_course.id) | n, dump_js_escaped_json},
start: ${context_course.start | n, dump_js_escaped_json}
});
</script>
% endif