mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
MDL-13895 incorrect title and alt on grade edit icon in gradebook reports; merged from MOODLE_19_STABLE
This commit is contained in:
parent
093c15be54
commit
05aba805bb
@ -933,10 +933,10 @@ class grade_structure {
|
||||
}
|
||||
}
|
||||
|
||||
static $stredit = null;
|
||||
static $strfeedback = null;
|
||||
if (is_null($stredit)) {
|
||||
$stredit = get_string('edit');
|
||||
static $streditgrade = null;
|
||||
if (is_null($streditgrade)) {
|
||||
$streditgrade = get_string('editgrade', 'grades');
|
||||
$strfeedback = get_string('feedback');
|
||||
}
|
||||
|
||||
@ -967,6 +967,7 @@ class grade_structure {
|
||||
break;
|
||||
|
||||
case 'grade':
|
||||
$stredit = $streditgrade;
|
||||
if (empty($object->id)) {
|
||||
$url = $CFG->wwwroot.'/grade/edit/tree/grade.php?courseid='.$this->courseid.'&itemid='.$object->itemid.'&userid='.$object->userid;
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user