Show graded icons in more places

In the course outline, if a subsection has any graded content,
show a graded icon (the pencil icon).

Also, show the graded icon for LTI xmodule units (xblocks is a
different repo, but will get same treatment).

AA-75
This commit is contained in:
Michael Terry
2020-04-21 12:43:53 -04:00
parent a9efd30c4c
commit 0f81765ac7
4 changed files with 10 additions and 5 deletions

View File

@@ -345,7 +345,8 @@ class LTIModule(LTIFields, LTI20ModuleMixin, XModule):
]
}
css = {'scss': [resource_string(__name__, 'css/lti/lti.scss')]}
js_module_name = "LTI"
js_module_name = 'LTI'
icon_class = 'problem'
def get_input_fields(self):
# LTI provides a list of default parameters that might be passed as