thelounge/client/views/msg.tpl

18 lines
533 B
Smarty
Raw Normal View History

2017-11-28 11:33:45 +01:00
<div class="msg {{type}}{{#if self}} self{{/if}}{{#if highlight}} highlight{{/if}}" id="msg-{{id}}" data-time="{{time}}"{{#if from.nick}} data-from="{{from.nick}}"{{/if}}>
2016-12-19 15:59:06 +01:00
<span class="time tooltipped tooltipped-e" aria-label="{{localetime time}}">
2014-08-26 01:13:47 +02:00
{{tz time}}
</span>
<span class="from">
{{#if from.nick}}
{{> user_name from}}
2014-08-26 01:13:47 +02:00
{{/if}}
</span>
<span class="content">
2017-11-14 23:36:45 +01:00
<span class="text">{{{parse text users}}}</span>
{{#each previews}}
<div class="preview" data-url="{{link}}"></div>
{{/each}}
</span>
2014-08-26 01:13:47 +02:00
</div>