From 82c662d3476d0933262d0c9a221781a3665fb1da 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 4a86cb3eec4..d436c15c729 100644 --- a/grade/edit/tree/lib.php +++ b/grade/edit/tree/lib.php @@ -177,7 +177,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);