Commit 14c01e3a by Gregory Martin Committed by GitHub

Merge pull request #14007 from edx/release

Release Nov 16th, 2016
parents 863aa78b aeb0f23d
...@@ -6,10 +6,9 @@ ...@@ -6,10 +6,9 @@
'underscore', 'underscore',
'backbone', 'backbone',
'common/js/discussion/utils', 'common/js/discussion/utils',
'common/js/discussion/models/discussion_course_settings',
'common/js/discussion/views/discussion_thread_view' 'common/js/discussion/views/discussion_thread_view'
], ],
function(_, Backbone, DiscussionUtil, DiscussionCourseSettings, DiscussionThreadView) { function(_, Backbone, DiscussionUtil, DiscussionThreadView) {
var DiscussionRouter = Backbone.Router.extend({ var DiscussionRouter = Backbone.Router.extend({
routes: { routes: {
'': 'allThreads', '': 'allThreads',
...@@ -21,7 +20,7 @@ ...@@ -21,7 +20,7 @@
_.bindAll(this, 'allThreads', 'showThread'); _.bindAll(this, 'allThreads', 'showThread');
this.courseId = options.courseId; this.courseId = options.courseId;
this.discussion = options.discussion; this.discussion = options.discussion;
this.course_settings = new DiscussionCourseSettings(options.course_settings); this.course_settings = options.courseSettings;
this.discussionBoardView = options.discussionBoardView; this.discussionBoardView = options.discussionBoardView;
this.newPostView = options.newPostView; this.newPostView = options.newPostView;
}, },
......
...@@ -1572,6 +1572,7 @@ PIPELINE_JS = { ...@@ -1572,6 +1572,7 @@ PIPELINE_JS = {
'js/sticky_filter.js', 'js/sticky_filter.js',
'js/query-params.js', 'js/query-params.js',
'common/js/vendor/moment-with-locales.js', 'common/js/vendor/moment-with-locales.js',
'common/js/vendor/moment-timezone-with-data.js',
] ]
), ),
'output_filename': 'js/lms-application.js', 'output_filename': 'js/lms-application.js',
...@@ -1720,8 +1721,10 @@ REQUIRE_JS_PATH_OVERRIDES = { ...@@ -1720,8 +1721,10 @@ REQUIRE_JS_PATH_OVERRIDES = {
'js/bookmarks/views/bookmark_button': 'js/bookmarks/views/bookmark_button.js', 'js/bookmarks/views/bookmark_button': 'js/bookmarks/views/bookmark_button.js',
'js/views/message_banner': 'js/views/message_banner.js', 'js/views/message_banner': 'js/views/message_banner.js',
'moment': 'common/js/vendor/moment-with-locales.js', 'moment': 'common/js/vendor/moment-with-locales.js',
'moment-timezone': 'common/js/vendor/moment-timezone-with-data.js',
'js/courseware/course_home_events': 'js/courseware/course_home_events.js', 'js/courseware/course_home_events': 'js/courseware/course_home_events.js',
'js/courseware/accordion_events': 'js/courseware/accordion_events.js', 'js/courseware/accordion_events': 'js/courseware/accordion_events.js',
'js/dateutil_factory': 'js/dateutil_factory.js',
'js/courseware/link_clicked_events': 'js/courseware/link_clicked_events.js', 'js/courseware/link_clicked_events': 'js/courseware/link_clicked_events.js',
'js/courseware/toggle_element_visibility': 'js/courseware/toggle_element_visibility.js', 'js/courseware/toggle_element_visibility': 'js/courseware/toggle_element_visibility.js',
'js/student_account/logistration_factory': 'js/student_account/logistration_factory.js', 'js/student_account/logistration_factory': 'js/student_account/logistration_factory.js',
......
...@@ -93,4 +93,3 @@ ...@@ -93,4 +93,3 @@
return DateUtilFactory; return DateUtilFactory;
}); });
}).call(this, define || RequireJS.define); }).call(this, define || RequireJS.define);
...@@ -115,12 +115,7 @@ ...@@ -115,12 +115,7 @@
required: true, required: true,
title: gettext('Time Zone'), title: gettext('Time Zone'),
valueAttribute: 'time_zone', valueAttribute: 'time_zone',
helpMessage: gettext( helpMessage: gettext('Select the time zone for displaying course dates. If you do not specify a time zone, course dates, including assignment deadlines, will be displayed in your browser\'s local time zone.'), // eslint-disable-line max-len
'Select the time zone for displaying course dates. ' +
'If you do not specify a time zone, course dates, ' +
'including assignment deadlines, will be displayed ' +
'in your browser\'s local time zone.'
),
groupOptions: [{ groupOptions: [{
groupTitle: gettext('All Time Zones'), groupTitle: gettext('All Time Zones'),
selectOptions: fieldsData.time_zone.options selectOptions: fieldsData.time_zone.options
......
...@@ -40,7 +40,8 @@ ...@@ -40,7 +40,8 @@
'lms/js/preview/preview_factory', 'lms/js/preview/preview_factory',
'support/js/certificates_factory', 'support/js/certificates_factory',
'support/js/enrollment_factory', 'support/js/enrollment_factory',
'teams/js/teams_tab_factory' 'teams/js/teams_tab_factory',
'js/dateutil_factory'
]), ]),
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment