diff --git a/common/lib/xmodule/xmodule/course_module.py b/common/lib/xmodule/xmodule/course_module.py index f322d34c08..fdcc2848ea 100644 --- a/common/lib/xmodule/xmodule/course_module.py +++ b/common/lib/xmodule/xmodule/course_module.py @@ -175,7 +175,7 @@ class CourseDescriptor(SequenceDescriptor): no_grade = Boolean(help="True if this course isn't graded", default=False, scope=Scope.settings) disable_progress_graph = Boolean(help="True if this course shouldn't display the progress graph", default=False, scope=Scope.settings) pdf_textbooks = List(help="List of dictionaries containing pdf_textbook configuration", default=None, scope=Scope.settings) - remote_gradebook = String(scope=Scope.settings, default='') + remote_gradebook = Object(scope=Scope.settings, default={}) allow_anonymous = Boolean(scope=Scope.settings, default=True) allow_anonymous_to_peers = Boolean(scope=Scope.settings, default=False) has_children = True diff --git a/lms/templates/courseware/instructor_dashboard.html b/lms/templates/courseware/instructor_dashboard.html index 654d7e57cf..a45f105cb2 100644 --- a/lms/templates/courseware/instructor_dashboard.html +++ b/lms/templates/courseware/instructor_dashboard.html @@ -57,9 +57,9 @@ function goto( mode)

Instructor Dashboard

-

[ Grades | +

[ Grades | %if settings.MITX_FEATURES.get('ENABLE_PSYCHOMETRICS'): - Psychometrics | + Psychometrics | %endif Admin | Forum Admin | @@ -75,7 +75,7 @@ function goto( mode) -##----------------------------------------------------------------------------- +##----------------------------------------------------------------------------- %if modeflag.get('Grades'): %if offline_grade_log: @@ -111,9 +111,9 @@ function goto( mode)
%if settings.MITX_FEATURES.get('REMOTE_GRADEBOOK_URL','') and instructor_access: - + <% - rg = course.metadata.get('remote_gradebook',{}) + rg = course.remote_gradebook %>

Export grades to remote gradebook

@@ -157,7 +157,7 @@ function goto( mode) %endif -##----------------------------------------------------------------------------- +##----------------------------------------------------------------------------- %if modeflag.get('Psychometrics'):

Select a problem and an action: @@ -178,7 +178,7 @@ function goto( mode) %endif -##----------------------------------------------------------------------------- +##----------------------------------------------------------------------------- %if modeflag.get('Admin'): %if instructor_access:


@@ -208,7 +208,7 @@ function goto( mode) %endif %endif -##----------------------------------------------------------------------------- +##----------------------------------------------------------------------------- %if modeflag.get('Forum Admin'): %if instructor_access:
@@ -225,7 +225,7 @@ function goto( mode)

- + @@ -236,7 +236,7 @@ function goto( mode) %endif %endif -##----------------------------------------------------------------------------- +##----------------------------------------------------------------------------- %if modeflag.get('Enrollment'):


@@ -249,9 +249,9 @@ function goto( mode)
%if settings.MITX_FEATURES.get('REMOTE_GRADEBOOK_URL','') and instructor_access: - + <% - rg = course.metadata.get('remote_gradebook',{}) + rg = course.remote_gradebook %>

Pull enrollment from remote gradebook

@@ -264,7 +264,7 @@ function goto( mode)
- + %endif

Add students: enter emails, separated by new lines or commas;

@@ -273,21 +273,21 @@ function goto( mode) %endif -##----------------------------------------------------------------------------- +##----------------------------------------------------------------------------- %if modeflag.get('Data'):

-

Problem urlname: +

Problem urlname:


%endif - -##----------------------------------------------------------------------------- + +##----------------------------------------------------------------------------- %if modeflag.get('Manage Groups'): %if instructor_access: @@ -313,12 +313,12 @@ function goto( mode) %endif -##----------------------------------------------------------------------------- +##----------------------------------------------------------------------------- %if msg:

${msg}

%endif -##----------------------------------------------------------------------------- +##----------------------------------------------------------------------------- %if datatable and modeflag.get('Psychometrics') is None: @@ -344,7 +344,7 @@ function goto( mode)

%endif -##----------------------------------------------------------------------------- +##----------------------------------------------------------------------------- %if modeflag.get('Psychometrics'): %for plot in plots: @@ -365,12 +365,12 @@ function goto( mode) %endfor %endif - -##----------------------------------------------------------------------------- + +##----------------------------------------------------------------------------- ## always show msg -##----------------------------------------------------------------------------- +##----------------------------------------------------------------------------- %if modeflag.get('Admin'): % if course_errors is not UNDEFINED:

Course errors

@@ -392,7 +392,7 @@ function goto( mode) %endif % endif -%endif +%endif