KQMATH / moodle-mod_capquiz

:mushroom: Computer adaptive practice activity module for Moodle
https://moodle.org/plugins/mod_capquiz
GNU General Public License v3.0
4 stars 5 forks source link

Wrong visualisation when rating is below current star level #108

Closed hgeorgsch closed 5 years ago

hgeorgsch commented 5 years ago

When the student rating drops below the threshold for the last star obtained, the progress bar is drawn as if the student had a star less than he has. It should be visualised as negative progress. Styling for a negative progess bar was created previously, and it is strange that this does not currently work.

sebastsg commented 5 years ago

The negative bar only makes sense when no star has been achieved yet. Therefore, a new icon has been added. The star with only an outline indicates that the star is not achieved, and grey stars indicate lost stars.