mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
MDL-21695 Replaced grade/locked.html
No AMOS script here, to be translated from scratch.
This commit is contained in:
parent
8c38a052e4
commit
731bc4ccc3
@ -206,7 +206,7 @@ class edit_category_form extends moodleform {
|
||||
|
||||
/// locking
|
||||
$mform->addElement('checkbox', 'grade_item_locked', get_string('locked', 'grades'));
|
||||
$mform->setHelpButton('grade_item_locked', array('locked', get_string('locked', 'grades'), 'grade'));
|
||||
$mform->addHelpButton('grade_item_locked', 'locked', 'grades');
|
||||
|
||||
$mform->addElement('date_time_selector', 'grade_item_locktime', get_string('locktime', 'grades'), array('optional'=>true));
|
||||
$mform->disabledIf('grade_item_locktime', 'grade_item_gradetype', 'eq', GRADE_TYPE_NONE);
|
||||
|
@ -93,7 +93,7 @@ class edit_grade_form extends moodleform {
|
||||
|
||||
/// locking
|
||||
$mform->addElement('advcheckbox', 'locked', get_string('locked', 'grades'));
|
||||
$mform->setHelpButton('locked', array('locked', get_string('locked', 'grades'), 'grade'));
|
||||
$mform->addHelpButton('locked', 'locked', 'grades');
|
||||
$mform->addElement('date_time_selector', 'locktime', get_string('locktime', 'grades'), array('optional'=>true));
|
||||
$mform->disabledIf('locktime', 'gradetype', 'eq', GRADE_TYPE_NONE);
|
||||
|
||||
|
@ -144,7 +144,7 @@ class edit_item_form extends moodleform {
|
||||
|
||||
/// locking
|
||||
$mform->addElement('advcheckbox', 'locked', get_string('locked', 'grades'));
|
||||
$mform->setHelpButton('locked', array('locked', get_string('locked', 'grades'), 'grade'));
|
||||
$mform->addHelpButton('locked', 'locked', 'grades');
|
||||
|
||||
$mform->addElement('date_time_selector', 'locktime', get_string('locktime', 'grades'), array('optional'=>true));
|
||||
$mform->disabledIf('locktime', 'gradetype', 'eq', GRADE_TYPE_NONE);
|
||||
|
@ -72,7 +72,7 @@ class edit_outcomeitem_form extends moodleform {
|
||||
|
||||
//locking
|
||||
$mform->addElement('advcheckbox', 'locked', get_string('locked', 'grades'));
|
||||
$mform->setHelpButton('locked', array('locked', get_string('locked', 'grades'), 'grade'));
|
||||
$mform->addHelpButton('locked', 'locked', 'grades');
|
||||
$mform->addElement('date_time_selector', 'locktime', get_string('locktime', 'grades'), array('optional'=>true));
|
||||
|
||||
/// parent category related settings
|
||||
|
@ -1,23 +0,0 @@
|
||||
<h1>Locked</h1>
|
||||
<p>Whether or not the grades accept automatic updates from the activity they are linked to. Usually this is switched on (locked) as soon as the activity is finished and submissions are no longer accepted. A typical sequence of events would be:
|
||||
</p>
|
||||
<table class="generaltable boxaligncenter" cellpadding="4" cellspacing="1" summary="Principal events in the grading process, and matching locked and hidden states">
|
||||
<tr>
|
||||
<th class="header">Event</th><th class="header">Locked</th><th class="header">Hidden</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="cell">Start of activity and participant submissions</td>
|
||||
<td class="cell">No</td>
|
||||
<td class="cell">Yes</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="cell">End of activity and beginning of grading/feedback</td>
|
||||
<td class="cell">Yes</td>
|
||||
<td class="cell">Yes</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="cell">End of grading/feedback, and release of grades</td>
|
||||
<td class="cell">Yes</td>
|
||||
<td class="cell">No</td>
|
||||
</tr>
|
||||
</table>
|
Loading…
x
Reference in New Issue
Block a user