Skip to content
Snippets Groups Projects
Commit 9cdd271e authored by Alexander Kryklia's avatar Alexander Kryklia
Browse files

added icon class

parent 3dae4d29
No related merge requests found
......@@ -115,7 +115,13 @@ class ConditionalModule(XModule):
self.contents = [self.system.get_module(child_descriptor).get_html()
for child_descriptor in self.descriptor.get_children()]
# TODO make this work
self.icon_class = self.system.get_module(
self.descriptor.get_children()[0]).get_icon_class()
html = self.contents
return json.dumps({'html': html, 'passed': True})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment