diff --git a/grade/report/grader/lib.php b/grade/report/grader/lib.php index 4c4125ebde4..69b1a008ff4 100644 --- a/grade/report/grader/lib.php +++ b/grade/report/grader/lib.php @@ -962,6 +962,10 @@ class grade_report_grader extends grade_report { $itemcell->attributes['class'] .= ' grade_type_text'; } + if ($this->get_pref('enableajax')) { + $itemcell->attributes['class'] .= ' clickable'; + } + if ($item->needsupdate) { $itemcell->text .= html_writer::tag('span', get_string('error'), array('class'=>"gradingerror$hidden$gradepass")); } else { diff --git a/theme/standard/style/grade.css b/theme/standard/style/grade.css index 4f014ebf277..5a1847eec4e 100644 --- a/theme/standard/style/grade.css +++ b/theme/standard/style/grade.css @@ -14,6 +14,7 @@ td.grade div.overridden {background-color: #DDDDDD;} .path-grade-report-grader table#user-grades td.cell span.gradepass {background-color: #C2EBBD;} .path-grade-report-grader table#user-grades td.cell span.gradefail {background-color: #EBC4BD;} +.path-grade-report-grader table#user-grades td.clickable {cursor: pointer;} .path-grade-edit-tree .moving {background-color: #E8EEF7;} .path-grade-edit-tree .gradetreebox {width:70%;padding-bottom:15px;}