From 442375e28ea2f03ebb7e23135f2ff3e76808388d Mon Sep 17 00:00:00 2001 From: Marina Glancy Date: Mon, 20 Oct 2014 14:02:25 +0800 Subject: [PATCH] MDL-47760 grades: dim category name if hidden --- grade/edit/tree/lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grade/edit/tree/lib.php b/grade/edit/tree/lib.php index 13154082030..8f657fc541b 100644 --- a/grade/edit/tree/lib.php +++ b/grade/edit/tree/lib.php @@ -180,7 +180,7 @@ class grade_edit_tree { $item = $category->get_grade_item(); // Add aggregation coef input if not a course item and if parent category has correct aggregation type - $dimmed = ($item->is_hidden()) ? 'dimmed' : ''; + $dimmed = ($item->is_hidden()) ? 'dimmed_text' : ''; // Before we print the category's row, we must find out how many rows will appear below it (for the filler cell's rowspan) $aggregation_position = grade_get_setting($COURSE->id, 'aggregationposition', $CFG->grade_aggregationposition);