Merge branch 'MDL-64855-37_block_myoverview_course_category_display' of https://githu...
[moodle.git] / blocks / myoverview / templates / view-summary.mustache
index 24e7cf6..0749e9e 100644 (file)
@@ -54,7 +54,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">