You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When course deletion is executed by giving course deletion authority to the organization administrator, the confirmation screen lang is not displayed.
#1961
Open
reso-nitta opened this issue
Apr 11, 2024
· 1 comment
Environment
iomad:4.1.9
We changed settings so that CompanyManager can delete courses.
The following three Capability were set up for the CompanyManager.
View company courses
block/iomad_company_admin:viewcourses
Delete a non-shared company course
block/iomad_company_admin:deletecourses
Manage IOMAD course settings for all companies and courses
block/iomad_company_admin:manageallcourses
Log in as the organization administrator and perform the course deletion from the "Manage IOMAD course settings" screen.
A confirmation screen appears but no lang is displayed.
CompanyManager confirmation screen
The site administrator's confirmation screen will show lang.
Administrator's confirmation screen
After checking, I believe the following source may be the cause.
iomad/blocks/iomad_company_admin/iomad_courses_form.php
Line 157.
$message = get_string('deleteacoursesfull', 'block_iomad_company_admin', $course->fullname);
The following lang file says 'deletecoursesfull'.
iomad/blocks/iomad_company_admin/lang/en/block_iomad_company_admin.php
Line 251.
$string['deletecoursesfull'] = 'Are you sure you want to delete course {$a}? Clicking continue will remove all current user enrolments, any license allocations and the course from the company. <b>There is no recovery from this without backup</b>';
The text was updated successfully, but these errors were encountered:
Environment
iomad:4.1.9
We changed settings so that CompanyManager can delete courses.
The following three Capability were set up for the CompanyManager.
Log in as the organization administrator and perform the course deletion from the "Manage IOMAD course settings" screen.
A confirmation screen appears but no lang is displayed.
CompanyManager confirmation screen
The site administrator's confirmation screen will show lang.
Administrator's confirmation screen
After checking, I believe the following source may be the cause.
The following lang file says 'deletecoursesfull'.
The text was updated successfully, but these errors were encountered: