thelounge/client/views/msg.tpl

18 lines
493 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 14:59:06 +00:00
<span class="time tooltipped tooltipped-e" aria-label="{{localetime time}}">
2014-08-25 23:13:47 +00:00
{{tz time}}
</span>
<span class="from">
{{#if from}}
{{> user_name from}}
2014-08-25 23:13:47 +00:00
{{/if}}
</span>
<span class="content">
<span class="text">{{{parse text}}}</span>
{{#each previews}}
<div class="preview" data-url="{{link}}"></div>
{{/each}}
</span>
2014-08-25 23:13:47 +00:00
</div>