Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 2.9.5, 3.0.3
-
Component/s: External Tool (IMS-LTI), Gradebook
-
Testing Instructions:
-
Affected Branches:MOODLE_29_STABLE, MOODLE_30_STABLE
-
Fixed Branches:MOODLE_30_STABLE, MOODLE_31_STABLE
-
Pull from Repository:
-
Pull Master Branch:
MDL-54065-master -
Pull Master Diff URL:
Description
When an LTI activity is created and the user provides an Icon URL/Secure icon URL those icons are used when displaying the link to the activity in a course. However, in the gradebook the "generic" LTI icon (i.e. mod/lti/pix/icon.*) is used.
One possible solution would be to change grade_structure::get_element_icon to call an optionally implement activity hook to retrieve the icon and then implement that hook in mod/lti. I'm open to other suggestions as well.
If there is any interest in this, I'd be willing provide a patch.