Commit 9cdd271e by Alexander Kryklia

added icon class

parent 3dae4d29
...@@ -115,7 +115,13 @@ class ConditionalModule(XModule): ...@@ -115,7 +115,13 @@ class ConditionalModule(XModule):
self.contents = [self.system.get_module(child_descriptor).get_html() self.contents = [self.system.get_module(child_descriptor).get_html()
for child_descriptor in self.descriptor.get_children()] 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 html = self.contents
return json.dumps({'html': html, 'passed': True}) return json.dumps({'html': html, 'passed': True})
......
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