MDL-47760 grades: dim category name if hidden

This commit is contained in:
Marina Glancy
2014-10-20 14:06:03 +08:00
parent e4fe4fdabe
commit 442375e28e
+1 -1
View File
@@ -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);