mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 16:32:18 +02:00
MDL-77734 core_courseformat: add title to bulk duplicate activities
This commit is contained in:
parent
09fd61415e
commit
5cdb09d10c
@ -106,6 +106,7 @@ class bulkedittools implements named_templatable, renderable {
|
||||
'icon' => 't/copy',
|
||||
'action' => 'cmDuplicate',
|
||||
'name' => get_string('duplicate'),
|
||||
'title' => get_string('cmsduplicate', 'core_courseformat'),
|
||||
'bulk' => 'cm',
|
||||
];
|
||||
}
|
||||
|
@ -102,7 +102,7 @@ Feature: Bulk course activity actions.
|
||||
Given I click on "Select activity Activity sample 1" "checkbox"
|
||||
And I click on "Select activity Activity sample 3" "checkbox"
|
||||
And I should see "2 selected" in the "sticky-footer" "region"
|
||||
When I click on "Duplicate" "button" in the "sticky-footer" "region"
|
||||
When I click on "Duplicate activities" "button" in the "sticky-footer" "region"
|
||||
Then I should see "Activity sample 1" in the "Topic 1" "section"
|
||||
And I should see "Activity sample 1 (copy)" in the "Topic 1" "section"
|
||||
And "Activity sample 1 (copy)" "activity" should appear after "Activity sample 1" "activity"
|
||||
|
@ -38,6 +38,7 @@ $string['cmdelete_title'] = 'Delete activity?';
|
||||
$string['cmsdelete'] = 'Delete activities';
|
||||
$string['cmsdelete_info'] = 'This will delete {$a->count} activities and any user data they contain';
|
||||
$string['cmsdelete_title'] = 'Delete selected activities?';
|
||||
$string['cmsduplicate'] = 'Duplicate activities';
|
||||
$string['cmsmove'] = 'Move activities';
|
||||
$string['cmmove_title'] = 'Move activity';
|
||||
$string['cmmove_info'] = 'Move "{$a}" activity after';
|
||||
|
Loading…
x
Reference in New Issue
Block a user