-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
4.5.4, 5.0
-
MOODLE_405_STABLE, MOODLE_500_STABLE
-
MDL-85415-main_amp_fix
-
-
Steps to reproduce
- Login as an admin/manager
- Go to Site administration > Competencies > Competency frameworks
- Create a framework with a competency
- Go to Site administration > Courses -> Add a new course
- Create a new course
- Within the course go to More > Competencies
- Click "Add competencies to course" and select the competency that was set up previously
- Go back to the course and create a new assign activity with the assignment name "This & That" with the new course competency selected under the section "Competencies"
- Go to More > Competencies from the course page
Expected: When viewing the course competency the assign activity name should be shown as:
This & That
|
Actual: The assign activity name is shown as:
This & That
|
Reason
This is due to the mustache template using double instead of triple curly brackets here:
https://github.com/moodle/moodle/blob/main/admin/tool/lp/templates/course_competencies_page.mustache#L133C97-L133C105