Merge pull request #978 from williamboman/feat/data-from

views/msg: set data-from attribute to allow styling messages from specific user(s)
This commit is contained in:
Jérémie Astori 2017-03-27 19:40:33 -04:00 committed by GitHub
commit 7487c1c1ac

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}}">
{{tz time}}
</span>