Implement optional hiding of capa assessment results
This commit is contained in:
committed by
Braden MacDonald
parent
c4f0a89d58
commit
f18a2be837
@@ -1162,6 +1162,7 @@ def create_xblock_info(xblock, data=None, metadata=None, include_ancestor_info=F
|
||||
'explanatory_message': explanatory_message,
|
||||
'group_access': xblock.group_access,
|
||||
'user_partitions': user_partitions,
|
||||
'show_correctness': xblock.show_correctness,
|
||||
})
|
||||
|
||||
if xblock.category == 'sequential':
|
||||
|
||||
@@ -54,6 +54,7 @@ class CourseMetadata(object):
|
||||
'exam_review_rules',
|
||||
'hide_after_due',
|
||||
'self_paced',
|
||||
'show_correctness',
|
||||
'chrome',
|
||||
'default_tab',
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user