MDL-64099 message: Show last message for individual messages
authorJun Pataleta <jun@moodle.com>
Wed, 28 Nov 2018 01:27:06 +0000 (09:27 +0800)
committerJun Pataleta <jun@moodle.com>
Wed, 28 Nov 2018 01:27:06 +0000 (09:27 +0800)
message/templates/message_drawer_conversations_list.mustache

index 55ec82d..5cdee0e 100644 (file)
@@ -87,6 +87,9 @@
                             }
                         {{/str}}
                     {{/lastsendername}}
+                    {{^lastsendername}}
+                        <span class='text-muted'>{{lastmessage}}</span>
+                    {{/lastsendername}}
                 {{/sentfromcurrentuser}}
             </p>
         </div>