Skip to content

Commit ea74837

Browse files
committed
fixup! feat: implement optional completion
1 parent 686009b commit ea74837

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

xmodule/seq_block.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -807,6 +807,7 @@ def _render_student_view_for_blocks(self, context, children, fragment, view=STUD
807807
'path': " > ".join(display_names + [block.display_name_with_default]),
808808
'graded': block.graded,
809809
'contains_content_type_gated_content': contains_content_type_gated_content,
810+
'optional_completion': getattr(block, 'optional_completion', False),
810811
}
811812
if not render_blocks:
812813
# The item url format can be defined in the template context like so:

0 commit comments

Comments
 (0)