mirror of
https://github.com/moodle/moodle.git
synced 2025-08-09 10:56:56 +02:00
MDL-33600 Assign: Allow teachers to skip notifying students about grade update.
This commit is contained in:
parent
ab7f498343
commit
f7dc9871e7
4 changed files with 21 additions and 2 deletions
|
@ -52,6 +52,10 @@ class mod_assign_quick_grading_form extends moodleform {
|
|||
$mform->addElement('hidden', 'action', 'quickgrade');
|
||||
$mform->setType('action', PARAM_ALPHA);
|
||||
|
||||
// Skip notifications option.
|
||||
$mform->addElement('selectyesno', 'sendstudentnotifications', get_string('sendstudentnotifications', 'assign'));
|
||||
$mform->setDefault('sendstudentnotifications', 1);
|
||||
|
||||
// Buttons.
|
||||
$savemessage = get_string('saveallquickgradingchanges', 'assign');
|
||||
$mform->addElement('submit', 'savequickgrades', $savemessage);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue