File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -1653,6 +1653,7 @@ def get(self, _key):
16531653 def set (self , key , value , timeout = None ):
16541654 pass
16551655
1656+
16561657class OptionalCompletionDisplayAside (XBlockAside ):
16571658 """
16581659 Displays the "Optional" information below each optional individual XBlock.
@@ -1661,8 +1662,9 @@ class OptionalCompletionDisplayAside(XBlockAside):
16611662 in the Learning MFE.
16621663 """
16631664
1664- @XBlockAside .aside_for ("student_view" )
1665+ @XBlockAside .aside_for (STUDENT_VIEW )
16651666 def aside_view (self , block , context = None ):
1667+ """The student view for the optional completion aside."""
16661668 has_children = getattr (block , "children" , False )
16671669 is_explicitly_optional = block .get_explicitly_set_fields_by_scope (Scope .settings ).get (
16681670 'optional_completion' , False
You can’t perform that action at this time.
0 commit comments