Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MDL-36012: Assignment, Accessibility - Add user information to alt te…

…xt for grade icon in grading table.

Conflicts:

	mod/assign/lang/en/assign.php
  • Loading branch information...
commit 80238a3cc280f343d2be7157e9ace11fa890c651 1 parent fa99332
Damyon Wiese authored
Showing with 3 additions and 1 deletion.
  1. +2 −1  mod/assign/gradingtable.php
  2. +1 −0  mod/assign/lang/en/assign.php
View
3  mod/assign/gradingtable.php
@@ -354,7 +354,8 @@ function col_grade(stdClass $row) {
$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'));
View
1  mod/assign/lang/en/assign.php
@@ -102,6 +102,7 @@
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';
Please sign in to comment.
Something went wrong with that request. Please try again.