MDL-64173 block_myoverview: remove heading class from course title
authorBas Brands <bas@moodle.com>
Sun, 25 Nov 2018 12:44:35 +0000 (13:44 +0100)
committerBas Brands <bas@moodle.com>
Sun, 25 Nov 2018 12:44:35 +0000 (13:44 +0100)
Using <h4> on the course name titles is symantically incorrect
To align with the other views the heading tag has been removed.

blocks/myoverview/templates/view-summary.mustache

index 1921805..abc725f 100644 (file)
@@ -52,7 +52,7 @@
                         {{> core_course/favouriteicon }}
                         <a href="{{viewurl}}" class="coursename">
                             <span class="sr-only">{{#str}}aria:coursename, core_course{{/str}}</span>
-                            <h4 class="d-inline">{{{fullname}}}</h4>
+                            {{{fullname}}}
                         </a>
                     </div>
                     {{> block_myoverview/course-action-menu }}