Closed rrusso closed 12 years ago
Please patch the following into our gradebook.
diff --git a/grade/edit/tree/lib.php b/grade/edit/tree/lib.php index ab1b84b..940da8b 100644 --- a/grade/edit/tree/lib.php +++ b/grade/edit/tree/lib.php @@ -131,7 +131,9 @@ class grade_edit_tree { $actions .= $this->gtree->get_edit_icon($element, $this->gpr); } - $actions .= $this->gtree->get_calculation_icon($element, $this->gpr); + if ($CFG->grade_report_showcalculations) { + $actions .= $this->gtree->get_calculation_icon($element, $this->gpr); + } if ($element['type'] == 'item' or ($element['type'] == 'category' and $element['depth'] > 1)) { if ($this->element_deletable($element)) {
Ok; Is this something that can wait until Wednesday with all the gradebook changes, or is it an emergency?
Update: I was thinking we could update the moodle gradebook this week.
Wednesday. It is tested already.
Please patch the following into our gradebook.