Merge branch 'MDL-64855-37_block_myoverview_course_category_display' of https://githu...
[moodle.git] / blocks / myoverview / templates / view-list.mustache
index b4aa8f9..b2d7633 100644 (file)
@@ -47,7 +47,9 @@
                         <span class="sr-only">
                             {{#str}}aria:coursecategory, core_course{{/str}}
                         </span>
-                        <div>{{{coursecategory}}}</div>
+                        {{#displaycategories}}
+                            <div>{{{coursecategory}}}</div>
+                        {{/displaycategories}}
                         {{#showshortname}}
                         <div class="pl-1 pr-1">|</div>
                         <span class="sr-only">