mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
MDL-21695 Replaced grade/grademax.html
AMOS BEGIN HLP grade/grademax.html,[grademax_help,core_grades] AMOS END
This commit is contained in:
parent
992cfb1101
commit
f5f4bbabbc
@ -147,7 +147,7 @@ class edit_category_form extends moodleform {
|
||||
$mform->disabledIf('grade_item_scaleid', 'aggregation', 'eq', GRADE_AGGREGATE_SUM);
|
||||
|
||||
$mform->addElement('text', 'grade_item_grademax', get_string('grademax', 'grades'));
|
||||
$mform->setHelpButton('grade_item_grademax', array('grademax', get_string('grademax', 'grades'), 'grade'), true);
|
||||
$mform->addHelpButton('grade_item_grademax', 'grademax', 'grades');
|
||||
$mform->disabledIf('grade_item_grademax', 'grade_item_gradetype', 'noteq', GRADE_TYPE_VALUE);
|
||||
$mform->disabledIf('grade_item_grademax', 'aggregation', 'eq', GRADE_AGGREGATE_SUM);
|
||||
|
||||
|
@ -76,7 +76,7 @@ class edit_item_form extends moodleform {
|
||||
$mform->disabledIf('scaleid', 'gradetype', 'noteq', GRADE_TYPE_SCALE);
|
||||
|
||||
$mform->addElement('text', 'grademax', get_string('grademax', 'grades'));
|
||||
$mform->setHelpButton('grademax', array('grademax', get_string('grademax', 'grades'), 'grade'), true);
|
||||
$mform->addHelpButton('grademax', 'grademax', 'grades');
|
||||
$mform->disabledIf('grademax', 'gradetype', 'noteq', GRADE_TYPE_VALUE);
|
||||
|
||||
$mform->addElement('text', 'grademin', get_string('grademin', 'grades'));
|
||||
|
@ -288,7 +288,6 @@ $string['gradelocked'] = 'Grade is locked';
|
||||
$string['gradelong'] = '{$a->grade} / {$a->max}';
|
||||
$string['grademax'] = 'Maximum grade';
|
||||
$string['grademax_help'] = 'This setting determines the maximum grade when using the value grade type. The maximum grade for an activity-based grade item is set on the activity settings page.';
|
||||
$string['grademaxhelp'] = 'When using the value grade type, a maximum grade can be set. The maximum grade for an activity-based grade item is set on the update activity page.';
|
||||
$string['grademin'] = 'Minimum grade';
|
||||
$string['grademin_help'] = 'This setting determines the minimum grade when using the value grade type.';
|
||||
$string['grademinhelp'] = 'When using the value grade type, a minimum grade can be set.';
|
||||
|
@ -1,2 +0,0 @@
|
||||
<h1>Maximum Grade</h1>
|
||||
<p>When using the value grade type, a maximum grade can be set. The maximum grade for an activity-based grade item is set on the update activity page.</p>
|
Loading…
x
Reference in New Issue
Block a user