mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-57938 mod_assign: added new 'gradingduedate' setting
Part of MDL-55611 epic.
This commit is contained in:
parent
410f2fb30d
commit
3e1c027532
13 changed files with 44 additions and 1 deletions
|
@ -95,6 +95,10 @@ class mod_assign_mod_form extends moodleform_mod {
|
|||
$mform->addElement('date_time_selector', 'cutoffdate', $name, array('optional'=>true));
|
||||
$mform->addHelpButton('cutoffdate', 'cutoffdate', 'assign');
|
||||
|
||||
$name = get_string('gradingduedate', 'assign');
|
||||
$mform->addElement('date_time_selector', 'gradingduedate', $name, array('optional' => true));
|
||||
$mform->addHelpButton('gradingduedate', 'gradingduedate', 'assign');
|
||||
|
||||
$name = get_string('alwaysshowdescription', 'assign');
|
||||
$mform->addElement('checkbox', 'alwaysshowdescription', $name);
|
||||
$mform->addHelpButton('alwaysshowdescription', 'alwaysshowdescription', 'assign');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue