hardlounge/client/views/msg.tpl

17 lines
435 B
Smarty
Raw Normal View History

<div class="msg {{type}}{{#if self}} self{{/if}}{{#if highlight}} highlight{{/if}}" id="msg-{{id}}" data-time="{{time}}" data-from="{{from}}">
2016-12-19 09:59:06 -05:00
<span class="time tooltipped tooltipped-e" aria-label="{{localetime time}}">
2014-08-25 19:13:47 -04:00
{{tz time}}
</span>
<span class="from">
{{#if from}}
{{> user_name nick=from}}
2014-08-25 19:13:47 -04:00
{{/if}}
</span>
2017-06-26 05:01:55 -04:00
<span class="text">
{{~{parse text}~}}
{{#if preview}}
{{> msg_preview}}
{{/if}}
2014-08-25 19:13:47 -04:00
</span>
</div>