Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bfe969e
)
MDL-46139 Grades: Show the aggregation method in the alt text for the icon.
author
Damyon Wiese
<damyon@moodle.com>
Mon, 11 Aug 2014 03:32:53 +0000
(11:32 +0800)
committer
Adrian Greeve
<adrian@moodle.com>
Fri, 3 Oct 2014 05:47:42 +0000
(13:47 +0800)
grade/lib.php
patch
|
blob
|
blame
|
history
diff --git
a/grade/lib.php
b/grade/lib.php
index
95c68a9
..
83fb46b
100644
(file)
--- a/
grade/lib.php
+++ b/
grade/lib.php
@@
-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).'"/>';
}
}