Commit e454e166 by gradyward

Merge pull request #527 from edx/grady/ux-tweaks

Added simple changes to correct the Problem Icon and Display Name
parents eefe1b46 d5cbfb67
...@@ -35,6 +35,8 @@ class LmsCompatibilityMixin(object): ...@@ -35,6 +35,8 @@ class LmsCompatibilityMixin(object):
scope=Scope.settings scope=Scope.settings
) )
icon_class = "problem"
def has_dynamic_children(self): def has_dynamic_children(self):
"""Do we dynamically determine our children? No, we don't have any. """Do we dynamically determine our children? No, we don't have any.
......
...@@ -169,6 +169,7 @@ class StudioMixin(object): ...@@ -169,6 +169,7 @@ class StudioMixin(object):
# At this point, all the input data has been validated, # At this point, all the input data has been validated,
# so we can safely modify the XBlock fields. # so we can safely modify the XBlock fields.
self.title = data['title'] self.title = data['title']
self.display_name = data['title']
self.prompt = data['prompt'] self.prompt = data['prompt']
self.rubric_criteria = data['criteria'] self.rubric_criteria = data['criteria']
self.rubric_assessments = data['assessments'] self.rubric_assessments = data['assessments']
......
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