mirror of
https://github.com/moodle/moodle.git
synced 2025-08-10 03:16:42 +02:00
improved hiding support in grade/
This commit is contained in:
parent
e3fa6587ee
commit
f60c61b1b2
11 changed files with 98 additions and 60 deletions
|
@ -57,7 +57,7 @@ class edit_outcomeitem_form extends moodleform {
|
|||
$mform->setHelpButton('hidden', array('hidden', get_string('hidden', 'grades'), 'grade'));
|
||||
$mform->addElement('date_time_selector', 'hiddenuntil', get_string('hiddenuntil', 'grades'), array('optional'=>true));
|
||||
$mform->setHelpButton('hiddenuntil', array('hiddenuntil', get_string('hiddenuntil', 'grades'), 'grade'));
|
||||
$mform->disabledIf('hiddenuntil', 'hidden', 'checked');
|
||||
$mform->disabledIf('hidden', 'hiddenuntil[off]', 'notchecked');
|
||||
|
||||
//locking
|
||||
$mform->addElement('advcheckbox', 'locked', get_string('locked', 'grades'));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue