MDL-46139 Grades: Show the aggregation method in the alt text for the icon.

This commit is contained in:
Damyon Wiese 2014-08-11 11:32:53 +08:00 committed by Adrian Greeve
parent bfe969e8b3
commit 9dd8088255

View File

@ -1184,6 +1184,9 @@ class grade_structure {
case GRADE_AGGREGATE_SUM:
return '<img src="'.$OUTPUT->pix_url('i/agg_sum') . '" ' .
'class="icon itemicon" title="'.s($stragg).'" alt="'.s($stragg).'"/>';
default:
return '<img src="'.$OUTPUT->pix_url('i/calc') . '" ' .
'class="icon itemicon" title="'.s($stragg).'" alt="'.s($stragg).'"/>';
}
}