mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
MDL-21695 Replaced grade/gradepass.html
AMOS BEGIN HLP grade/gradepass.html,[gradepass_help,core_grades] AMOS END
This commit is contained in:
parent
25293fcb7b
commit
5cca21a665
@ -157,7 +157,7 @@ class edit_category_form extends moodleform {
|
||||
$mform->disabledIf('grade_item_grademin', 'aggregation', 'eq', GRADE_AGGREGATE_SUM);
|
||||
|
||||
$mform->addElement('text', 'grade_item_gradepass', get_string('gradepass', 'grades'));
|
||||
$mform->setHelpButton('grade_item_gradepass', array('gradepass', get_string('gradepass', 'grades'), 'grade'), true);
|
||||
$mform->addHelpButton('grade_item_gradepass', 'gradepass', 'grades');
|
||||
$mform->disabledIf('grade_item_gradepass', 'grade_item_gradetype', 'eq', GRADE_TYPE_NONE);
|
||||
$mform->disabledIf('grade_item_gradepass', 'grade_item_gradetype', 'eq', GRADE_TYPE_TEXT);
|
||||
|
||||
|
@ -84,7 +84,7 @@ class edit_item_form extends moodleform {
|
||||
$mform->disabledIf('grademin', 'gradetype', 'noteq', GRADE_TYPE_VALUE);
|
||||
|
||||
$mform->addElement('text', 'gradepass', get_string('gradepass', 'grades'));
|
||||
$mform->setHelpButton('gradepass', array('gradepass', get_string('gradepass', 'grades'), 'grade'), true);
|
||||
$mform->addHelpButton('gradepass', 'gradepass', 'grades');
|
||||
$mform->disabledIf('gradepass', 'gradetype', 'eq', GRADE_TYPE_NONE);
|
||||
$mform->disabledIf('gradepass', 'gradetype', 'eq', GRADE_TYPE_TEXT);
|
||||
|
||||
|
@ -63,10 +63,6 @@ class edit_outcomeitem_form extends moodleform {
|
||||
$mform->setHelpButton('cmid', array('linkedactivity', get_string('linkedactivity', 'grades'), 'grade'), true);
|
||||
$mform->setDefault('cmid', 0);
|
||||
|
||||
/*$mform->addElement('text', 'gradepass', get_string('gradepass', 'grades'));
|
||||
$mform->setHelpButton('gradepass', array(false, get_string('gradepass', 'grades'),
|
||||
false, true, false, get_string('gradepasshelp', 'grades')));*/
|
||||
|
||||
/// hiding
|
||||
/// advcheckbox is not compatible with disabledIf !!
|
||||
$mform->addElement('checkbox', 'hidden', get_string('hidden', 'grades'));
|
||||
|
@ -295,7 +295,6 @@ $string['gradeoutcomes'] = 'Outcomes';
|
||||
$string['gradeoutcomescourses'] = 'Course outcomes';
|
||||
$string['gradepass'] = 'Grade to pass';
|
||||
$string['gradepass_help'] = 'This setting determines the minimum grade required to pass. The value is used in activity and course completion, and in the gradebook, where pass grades are highlighted in green and fail grades in red.';
|
||||
$string['gradepasshelp'] = 'If an item has a grade that users must equal or exceed to pass that item, you can set that here.';
|
||||
$string['gradepreferences'] = 'Grade preferences';
|
||||
$string['gradepreferenceshelp'] = 'Grade preferences Help';
|
||||
$string['gradepublishing'] = 'Enable publishing';
|
||||
|
@ -1,2 +0,0 @@
|
||||
<h1>Grade to pass</h1>
|
||||
<p>If an item has a grade that users must equal or exceed to pass that item, you can set that here.</p>
|
Loading…
x
Reference in New Issue
Block a user