Commit d8b99e1e by Calen Pennington

Make remote_gradebook use the new field instead of metadata

parent c1a8c6de
......@@ -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
......
......@@ -113,7 +113,7 @@ function goto( mode)
%if settings.MITX_FEATURES.get('REMOTE_GRADEBOOK_URL','') and instructor_access:
<%
rg = course.metadata.get('remote_gradebook',{})
rg = course.remote_gradebook
%>
<h3>Export grades to remote gradebook</h3>
......@@ -251,7 +251,7 @@ function goto( mode)
%if settings.MITX_FEATURES.get('REMOTE_GRADEBOOK_URL','') and instructor_access:
<%
rg = course.metadata.get('remote_gradebook',{})
rg = course.remote_gradebook
%>
<p>Pull enrollment from remote gradebook</p>
......
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