mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 05:58:34 +01:00
MDL-46139 Grades: Show the aggregation method in the alt text for the icon.
This commit is contained in:
parent
bfe969e8b3
commit
9dd8088255
@ -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).'"/>';
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user