Activity completion color change to red (failure to achieve)

Activity completion color change to red (failure to achieve)

by AL Rachels -
Number of replies: 0
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers
Does anyone know how to change an activity completion "color" when the student fails to achieve the required item setting. For instance, in the included photo, the student has finished the MooTyper lesson that had four exercises. She started with two failures of exercise one, but then successfully completed the four exercises to complete the lesson. At that point the activity is over. She failed to achieve the required Precision and the MooTyper Grade (combined Precision and WPM). The Moodle provided, Receive a passing grade is red, but not the other two failures.

Can anyone point me in the direction of the Development Documentation where I might find out how to do the color change? I have looked at a bunch of the other plugin code, without success.

Average of ratings: -