MDL-47760 grades: dim category name if hidden

This commit is contained in:
Marina Glancy 2014-10-20 14:02:25 +08:00
parent b49de5d930
commit 82c662d347

View File

@ -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);