mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
Merge branch 'MDL-62839' of https://github.com/JasonEverling/moodle
This commit is contained in:
commit
db79d463b6
2 changed files with 2 additions and 1 deletions
|
@ -298,7 +298,7 @@ class mod_lti_mod_form extends moodleform_mod {
|
||||||
$mform->disabledIf('instructorchoicesendemailaddr', 'typeid', 'in', $toolproxy);
|
$mform->disabledIf('instructorchoicesendemailaddr', 'typeid', 'in', $toolproxy);
|
||||||
|
|
||||||
$mform->addElement('advcheckbox', 'instructorchoiceacceptgrades', get_string('accept_grades', 'lti'));
|
$mform->addElement('advcheckbox', 'instructorchoiceacceptgrades', get_string('accept_grades', 'lti'));
|
||||||
$mform->setDefault('instructorchoiceacceptgrades', '1');
|
$mform->setDefault('instructorchoiceacceptgrades', '0');
|
||||||
$mform->addHelpButton('instructorchoiceacceptgrades', 'accept_grades', 'lti');
|
$mform->addHelpButton('instructorchoiceacceptgrades', 'accept_grades', 'lti');
|
||||||
$mform->disabledIf('instructorchoiceacceptgrades', 'typeid', 'in', $toolproxy);
|
$mform->disabledIf('instructorchoiceacceptgrades', 'typeid', 'in', $toolproxy);
|
||||||
|
|
||||||
|
|
|
@ -21,6 +21,7 @@ Feature: Rename external tools via inline editing
|
||||||
And I am on "Course 1" course homepage with editing mode on
|
And I am on "Course 1" course homepage with editing mode on
|
||||||
And I add a "External tool" to section "1" and I fill the form with:
|
And I add a "External tool" to section "1" and I fill the form with:
|
||||||
| Activity name | Test tool activity 1 |
|
| Activity name | Test tool activity 1 |
|
||||||
|
| Accept grades from the tool | 1 |
|
||||||
And I set the field "Edit title" in the "li#section-1" "css_element" to "Test tool activity renamed"
|
And I set the field "Edit title" in the "li#section-1" "css_element" to "Test tool activity renamed"
|
||||||
And I navigate to "Setup > Gradebook setup" in the course gradebook
|
And I navigate to "Setup > Gradebook setup" in the course gradebook
|
||||||
Then I should not see "Test tool activity 1"
|
Then I should not see "Test tool activity 1"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue