Add tests and clean up A/B testing
Also fixes STUD-1351
This commit is contained in:
committed by
Calen Pennington
parent
2d5c37b2a0
commit
bce7d9e43d
@@ -88,13 +88,12 @@ class SequenceModule(SequenceFields, XModule):
|
||||
rendered_child = child.render('student_view', context)
|
||||
fragment.add_frag_resources(rendered_child)
|
||||
|
||||
titles = child.get_content_titles()
|
||||
print titles
|
||||
childinfo = {
|
||||
'content': rendered_child.content,
|
||||
'title': "\n".join(
|
||||
grand_child.display_name
|
||||
for grand_child in child.get_children()
|
||||
if grand_child.display_name is not None
|
||||
),
|
||||
'title': "\n".join(titles),
|
||||
'page_title': titles[0] if titles else '',
|
||||
'progress_status': Progress.to_js_status_str(progress),
|
||||
'progress_detail': Progress.to_js_detail_str(progress),
|
||||
'type': child.get_icon_class(),
|
||||
|
||||
Reference in New Issue
Block a user