MDL-65658 mod_forum: Update the group image titles
authorMathew May <mathewm@hotmail.co.nz>
Tue, 4 Jun 2019 05:42:07 +0000 (13:42 +0800)
committerSara Arjona <sara@moodle.com>
Tue, 4 Jun 2019 09:48:17 +0000 (11:48 +0200)
mod/forum/templates/discussion_list.mustache
mod/forum/templates/forum_discussion_post.mustache

index 164fa5a..c59e87e 100644 (file)
                                                 class="rounded-circle userpicture"
                                                 src="{{urls.profileimage}}"
                                                 alt="{{#str}}pictureof, moodle, {{fullname}}{{/str}}"
-                                                title="{{fullname}}"
+                                                title="{{#str}}pictureof, moodle, {{fullname}}{{/str}}"
                                             >
                                         </div>
                                         <div class="align-middle p-2">
                                                          aria-hidden="true"
                                                          class="border rounded h-auto rounded-circle grouppicture"
                                                          src="{{{urls.picture}}}"
-                                                         title="{{name}}">
+                                                         title="{{#str}} pictureof, core, {{name}} {{/str}}">
                                                 </a>
                                             {{/urls.userlist}}
                                             {{^urls.userlist}}
                                                 <img alt="{{#str}} pictureof, core, {{name}} {{/str}}"
                                                      class="border rounded h-auto rounded-circle grouppicture"
                                                      src="{{{urls.picture}}}"
-                                                     title="{{name}}">
+                                                     title="{{#str}} pictureof, core, {{name}} {{/str}}">
                                             {{/urls.userlist}}
                                         {{/urls.picture}}
                                         {{^urls.picture}}
                                                     class="rounded-circle userpicture"
                                                     src="{{latestpostauthor.urls.profileimage}}"
                                                     alt="{{#str}}pictureof, moodle, {{latestpostauthor.fullname}}{{/str}}"
-                                                    title="{{latestpostauthor.fullname}}"
+                                                    title="{{#str}}pictureof, moodle, {{latestpostauthor.fullname}}{{/str}}"
                                                 >
                                             </a>
                                         </div>
index 7b915eb..5023af8 100644 (file)
@@ -58,7 +58,7 @@
                                     src="{{{.}}}"
                                     alt="{{#str}} pictureof, core, {{author.fullname}} {{/str}}"
                                     aria-hidden="true"
-                                    title="{{author.fullname}}"
+                                    title="{{#str}} pictureof, core, {{author.fullname}} {{/str}}"
                                 >
                             {{/urls.profileimage}}
                         </div>
                                                  src="{{{.}}}"
                                                  alt="{{#str}} pictureof, core, {{name}} {{/str}}"
                                                  aria-hidden="true"
-                                                 title="{{name}}"
+                                                 title="{{#str}} pictureof, core, {{name}} {{/str}}"
                                             >
                                         </a>
                                     {{/urls.image}}
                                         <img class="rounded-circle w-100"
                                             src="{{{.}}}"
                                             alt="{{#str}} pictureof, core, {{name}} {{/str}}"
-                                            title="{{name}}"
+                                            title="{{#str}} pictureof, core, {{name}} {{/str}}"
                                         >
                                     {{/urls.image}}
                                 {{/urls.group}}