Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

MDL-36905 accessibility for assignment grading: add label for grading…

… actions and operations select options
  • Loading branch information...
commit 49f0c151dd54a13ae39fcc6c1733251916a9805c 1 parent f42c34a
rwijaya rwijaya authored
2  mod/assign/gradingbatchoperationsform.php
@@ -70,7 +70,7 @@ function definition() {
70 70 $mform->addElement('hidden', 'returnaction', 'grading');
71 71
72 72 $objs = array();
73   - $objs[] =& $mform->createElement('select', 'operation', '', $options);
  73 + $objs[] =& $mform->createElement('select', 'operation', get_string('chooseoperation', 'assign'), $options);
74 74 $objs[] =& $mform->createElement('submit', 'submit', get_string('go'));
75 75 $mform->addElement('group', 'actionsgrp', get_string('batchoperationsdescription', 'assign'), $objs, ' ', false);
76 76
2  mod/assign/lang/en/assign.php
@@ -72,6 +72,8 @@
72 72 $string['blindmarking'] = 'Blind marking';
73 73 $string['blindmarking_help'] = 'Blind marking hides the identity of students to markers. Blind marking settings will be locked once a submission or grade has been made in relation to this assignment.';
74 74 $string['changegradewarning'] = 'This assignment has graded submissions and changing the grade will not automatically re-calculate existing submission grades. You must re-grade all existing submissions, if you wish to change the grade.';
  75 +$string['choosegradingaction'] = 'Grading action';
  76 +$string['chooseoperation'] = 'Choose operation';
75 77 $string['comment'] = 'Comment';
76 78 $string['completionsubmit'] = 'Student must submit to this activity to complete it';
77 79 $string['conversionexception'] = 'Could not convert assignment. Exception was: {$a}.';
1  mod/assign/locallib.php
@@ -2259,6 +2259,7 @@ private function view_grading_table() {
2259 2259 }
2260 2260
2261 2261 $gradingactions = new url_select($links);
  2262 + $gradingactions->set_label(get_string('choosegradingaction', 'assign'));
2262 2263
2263 2264 $gradingmanager = get_grading_manager($this->get_context(), 'mod_assign', 'submissions');
2264 2265

0 comments on commit 49f0c15

Please sign in to comment.
Something went wrong with that request. Please try again.