From be8e89f026369c0a4847bae01f80d4255a999ede Mon Sep 17 00:00:00 2001 From: Paul Holden Date: Fri, 26 Sep 2025 11:38:23 +0100 Subject: [PATCH] MDL-86736 block_myoverview: remove stray template content. Changes made in c530e4c4 left some stray elements in the templates, which manifested themselves as displaying misplaced pipe characters depending on unrelated site config (`$CFG->courselistshortnames`). --- public/blocks/myoverview/templates/view-cards.mustache | 5 ----- public/blocks/myoverview/templates/view-list.mustache | 3 --- public/blocks/myoverview/templates/view-summary.mustache | 3 --- 3 files changed, 11 deletions(-) diff --git a/public/blocks/myoverview/templates/view-cards.mustache b/public/blocks/myoverview/templates/view-cards.mustache index 73910380650..b82bb74f12b 100644 --- a/public/blocks/myoverview/templates/view-cards.mustache +++ b/public/blocks/myoverview/templates/view-cards.mustache @@ -67,9 +67,4 @@ {{/showcoursecategory}} {{/coursecategory}} - {{$divider}} - {{#showcoursecategory}} -
|
- {{/showcoursecategory}} - {{/divider}} {{/ core_course/coursecards }} diff --git a/public/blocks/myoverview/templates/view-list.mustache b/public/blocks/myoverview/templates/view-list.mustache index 7b8c73c093c..4e8a0213649 100644 --- a/public/blocks/myoverview/templates/view-list.mustache +++ b/public/blocks/myoverview/templates/view-list.mustache @@ -52,9 +52,6 @@
{{#showshortname}}
- {{#showcoursecategory}} -
|
- {{/showcoursecategory}} {{#str}}aria:courseshortname, core_course{{/str}} diff --git a/public/blocks/myoverview/templates/view-summary.mustache b/public/blocks/myoverview/templates/view-summary.mustache index 7d7480528ab..b3221fcaa00 100644 --- a/public/blocks/myoverview/templates/view-summary.mustache +++ b/public/blocks/myoverview/templates/view-summary.mustache @@ -52,9 +52,6 @@
{{#showshortname}}
- {{#showcoursecategory}} -
|
- {{/showcoursecategory}} {{#str}}aria:courseshortname, core_course{{/str}}