Merge pull request #18178 from edx/mark_units_graded
mark units as graded if subsection is graded
This commit is contained in:
@@ -470,6 +470,7 @@ class SequenceModule(SequenceFields, ProctoringFields, XModule):
|
||||
'id': text_type(usage_id),
|
||||
'bookmarked': is_bookmarked,
|
||||
'path': " > ".join(display_names + [item.display_name_with_default]),
|
||||
'graded': item.graded
|
||||
}
|
||||
|
||||
if is_user_authenticated:
|
||||
|
||||
@@ -45,6 +45,7 @@
|
||||
data-element="${idx+1}"
|
||||
data-page-title="${item['page_title']}"
|
||||
data-path="${item['path']}"
|
||||
data-graded="${item['graded']}"
|
||||
id="tab_${idx}"
|
||||
${"disabled=disabled" if disable_navigation else ""}>
|
||||
<span class="icon fa seq_${item['type']}" aria-hidden="true"></span>
|
||||
|
||||
Reference in New Issue
Block a user