MDL-36012: Assignment, Accessibility - Add user information to alt text for grade icon in grading table.

Conflicts:

	mod/assign/lang/en/assign.php
This commit is contained in:
Damyon Wiese
2012-11-21 12:03:45 +08:00
parent fa99332779
commit 80238a3cc2
2 changed files with 3 additions and 1 deletions
+2 -1
View File
@@ -354,7 +354,8 @@ class assign_grading_table extends table_sql implements renderable {
$grade = '';
if (!$this->is_downloading()) {
$icon = $this->output->pix_icon('gradefeedback', get_string('grade'), 'mod_assign');
$name = fullname($row);
$icon = $this->output->pix_icon('gradefeedback', get_string('gradeuser', 'assign', $name), 'mod_assign');
$url = new moodle_url('/mod/assign/view.php',
array('id' => $this->assignment->get_course_module()->id,
'rownum'=>$this->rownum,'action'=>'grade'));
+1
View File
@@ -102,6 +102,7 @@ $string['gradersubmissionupdatedhtml'] = '{$a->username} has updated their assig
for <i>\'{$a->assignment}\' at {$a->timeupdated}</i><br /><br />
It is <a href="{$a->url}">available on the web site</a>.';
$string['gradersubmissionupdatedsmall'] = '{$a->username} has updated their submission for assignment {$a->assignment}.';
$string['gradeuser'] = 'Grade {$a}';
$string['enabled'] = 'Enabled';
$string['errornosubmissions'] = 'There are no submissions to download';
$string['errorquickgradingvsadvancedgrading'] = 'The grades were not saved because this assignment is currently using advanced grading';