mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
MDL-36905 accessibility for assignment grading: add label for grading actions and operations select options
This commit is contained in:
parent
f42c34a38a
commit
49f0c151dd
@ -70,7 +70,7 @@ class mod_assign_grading_batch_operations_form extends moodleform {
|
||||
$mform->addElement('hidden', 'returnaction', 'grading');
|
||||
|
||||
$objs = array();
|
||||
$objs[] =& $mform->createElement('select', 'operation', '', $options);
|
||||
$objs[] =& $mform->createElement('select', 'operation', get_string('chooseoperation', 'assign'), $options);
|
||||
$objs[] =& $mform->createElement('submit', 'submit', get_string('go'));
|
||||
$mform->addElement('group', 'actionsgrp', get_string('batchoperationsdescription', 'assign'), $objs, ' ', false);
|
||||
|
||||
|
@ -72,6 +72,8 @@ $string['batchoperationreverttodraft'] = 'revert submissions to draft';
|
||||
$string['blindmarking'] = 'Blind marking';
|
||||
$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.';
|
||||
$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.';
|
||||
$string['choosegradingaction'] = 'Grading action';
|
||||
$string['chooseoperation'] = 'Choose operation';
|
||||
$string['comment'] = 'Comment';
|
||||
$string['completionsubmit'] = 'Student must submit to this activity to complete it';
|
||||
$string['conversionexception'] = 'Could not convert assignment. Exception was: {$a}.';
|
||||
|
@ -2259,6 +2259,7 @@ class assign {
|
||||
}
|
||||
|
||||
$gradingactions = new url_select($links);
|
||||
$gradingactions->set_label(get_string('choosegradingaction', 'assign'));
|
||||
|
||||
$gradingmanager = get_grading_manager($this->get_context(), 'mod_assign', 'submissions');
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user