Skip to content

Commit

Permalink
MDL-47760 grades: dim category name if hidden
Browse files Browse the repository at this point in the history
  • Loading branch information
marinaglancy committed Oct 20, 2014
1 parent b49de5d commit 82c662d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grade/edit/tree/lib.php
Expand Up @@ -177,7 +177,7 @@ public function build_html_tree($element, $totals, $parents, $level, &$row_count
$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);
Expand Down

0 comments on commit 82c662d

Please sign in to comment.