mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
Merge branch 'MDL-39437' of git://github.com/rwijaya/moodle
This commit is contained in:
commit
fc076898c7
@ -114,6 +114,7 @@ $string['continuetonextpage'] = 'Continue to next page.';
|
||||
$string['correctanswerjump'] = 'Correct answer jump';
|
||||
$string['correctanswerscore'] = 'Correct answer score';
|
||||
$string['correctresponse'] = 'Correct response';
|
||||
$string['createaquestionpage'] = 'Create a question page';
|
||||
$string['credit'] = 'Credit';
|
||||
$string['customscoring'] = 'Custom scoring';
|
||||
$string['customscoring_help'] = 'If enabled, then each answer may be given a numerical point value (positive or negative).';
|
||||
|
@ -696,7 +696,7 @@ abstract class lesson_add_page_form_base extends moodleform {
|
||||
$mform = $this->_form;
|
||||
$editoroptions = $this->_customdata['editoroptions'];
|
||||
|
||||
$mform->addElement('header', 'qtypeheading', get_string('addaquestionpage', 'lesson', get_string($this->qtypestring, 'lesson')));
|
||||
$mform->addElement('header', 'qtypeheading', get_string('createaquestionpage', 'lesson', get_string($this->qtypestring, 'lesson')));
|
||||
|
||||
$mform->addElement('hidden', 'id');
|
||||
$mform->setType('id', PARAM_INT);
|
||||
|
@ -23,6 +23,7 @@ Feature: A teacher can set available from and deadline dates to access a lesson
|
||||
@javascript
|
||||
Scenario: Forbidding lesson accesses until a specified date
|
||||
Given I add a "Lesson" to section "1"
|
||||
And I expand all fieldsets
|
||||
And I click on "id_available_enabled" "checkbox"
|
||||
And I fill the moodle form with:
|
||||
| Name | Test lesson |
|
||||
@ -49,6 +50,7 @@ Feature: A teacher can set available from and deadline dates to access a lesson
|
||||
@javascript
|
||||
Scenario: Forbidding lesson accesses until a specified date
|
||||
Given I add a "Lesson" to section "1"
|
||||
And I expand all fieldsets
|
||||
And I click on "id_deadline_enabled" "checkbox"
|
||||
And I fill the moodle form with:
|
||||
| Name | Test lesson |
|
||||
|
Loading…
x
Reference in New Issue
Block a user