MDL-56696 message: link user full name to contact options
authorSimey Lameze <simey@moodle.com>
Mon, 7 Nov 2016 06:35:13 +0000 (14:35 +0800)
committerSimey Lameze <simey@moodle.com>
Mon, 7 Nov 2016 06:35:13 +0000 (14:35 +0800)
message/templates/message_area_messages_area.mustache

index 5a62fbf..acfa449 100644 (file)
@@ -24,7 +24,7 @@
     </div>
     <div class="name-container">
         <div class="name">
-            {{otheruserfullname}}
+            <button class="btn btn-link" data-action="view-contact-profile" data-userid="{{otheruserid}}">{{otheruserfullname}}</button>
         </div>
         <div class="status {{#isonline}}online{{/isonline}}">
             <span class="offline-text">{{#str}} offline, message {{/str}}</span>