MDL-63830 block_myoverview: shorten card titles
authorBas Brands <bas@moodle.com>
Mon, 5 Nov 2018 16:20:18 +0000 (17:20 +0100)
committerBas Brands <bas@moodle.com>
Wed, 7 Nov 2018 10:47:23 +0000 (11:47 +0100)
blocks/myoverview/templates/view-cards.mustache
blocks/recentlyaccessedcourses/templates/view-cards.mustache
blocks/starredcourses/templates/view-cards.mustache

index 2361ed1..5e4bf56 100644 (file)
@@ -50,7 +50,7 @@
                     {{> core_course/favouriteicon }}
                     <a href="{{viewurl}}" class="coursename">
                         <span class="sr-only">{{#str}}aria:coursename, core_course{{/str}}</span>
-                        {{#shortentext}}40, {{{fullname}}} {{/shortentext}}
+                        {{#shortentext}}30, {{{fullname}}} {{/shortentext}}
                     </a>
                 </div>
                 {{> block_myoverview/course-action-menu }}
index 4ec68ba..2f0db9c 100644 (file)
@@ -47,7 +47,7 @@
                         {{> core_course/favouriteicon }}
                         <a href="{{viewurl}}" class="coursename">
                             <span class="sr-only">{{#str}}aria:coursename, core_course{{/str}}</span>
-                            {{#shortentext}}40, {{{fullname}}} {{/shortentext}}
+                            {{#shortentext}}30, {{{fullname}}} {{/shortentext}}
                         </a>
                     </div>
                 </div>
index 2d94c4e..0ae646a 100644 (file)
@@ -40,7 +40,7 @@
                     {{>core_course/favouriteicon }}
                     <a href="{{viewurl}}" class="coursename">
                         <span class="sr-only">{{#str}}aria:coursename, core_course{{/str}}</span>
-                        {{#shortentext}}40, {{{fullname}}} {{/shortentext}}
+                        {{#shortentext}}30, {{{fullname}}} {{/shortentext}}
                     </a>
                 </div>
             </div>