views/msg: set data-from attribute to allow styling messages from specific user(s)

This commit is contained in:
William Boman 2017-03-20 23:08:28 +01:00
parent 52cc3ee909
commit c6ed95e555
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
<div class="msg {{type}}{{#if self}} self{{/if}}{{#if highlight}} highlight{{/if}}" id="msg-{{id}}" data-time="{{time}}"> <div class="msg {{type}}{{#if self}} self{{/if}}{{#if highlight}} highlight{{/if}}" id="msg-{{id}}" data-time="{{time}}" data-from="{{from}}">
<span class="time" title="{{localetime time}}"> <span class="time" title="{{localetime time}}">
{{tz time}} {{tz time}}
</span> </span>