Commit 8df4c662 by Calen Pennington

Use display_name in sequence title bar

parent 44ad05ae
...@@ -52,9 +52,9 @@ class SequenceModule(XModule): ...@@ -52,9 +52,9 @@ class SequenceModule(XModule):
contents.append({ contents.append({
'content': child.get_html(), 'content': child.get_html(),
'title': "\n".join( 'title': "\n".join(
grand_child.name.strip() grand_child.display_name.strip()
for grand_child in child.get_children() for grand_child in child.get_children()
if grand_child.name is not None if grand_child.display_name is not None
), ),
'progress_status': Progress.to_js_status_str(progress), 'progress_status': Progress.to_js_status_str(progress),
'progress_detail': Progress.to_js_detail_str(progress), 'progress_detail': Progress.to_js_detail_str(progress),
......
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