diff --git a/classes/output/courseformat/content.php b/classes/output/courseformat/content.php index 3f928905..8bfd0e4b 100644 --- a/classes/output/courseformat/content.php +++ b/classes/output/courseformat/content.php @@ -448,9 +448,9 @@ protected function calculate_section_activity_completion($section, $course, $mod $data = new \stdClass(); $data->percentagevalue = $this->sectioncompletionpercentage[$section->section]; - if ($data->percentagevalue < 11) { + if ($data->percentagevalue < 50) { $data->percentagecolour = 'low'; - } else if ($data->percentagevalue < 90) { + } else if ($data->percentagevalue < 80) { $data->percentagecolour = 'middle'; } else { $data->percentagecolour = 'high';