MDL-56696 message: link user full name to contact options
[moodle.git] / message / templates / message_area_messages_area.mustache
index 5a62fbf..acfa449 100644 (file)
@@ -24,7 +24,7 @@
     </div>
     <div class="name-container">
         <div class="name">
     </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>
         </div>
         <div class="status {{#isonline}}online{{/isonline}}">
             <span class="offline-text">{{#str}} offline, message {{/str}}</span>