mirror of
https://github.com/thelounge/thelounge
synced 2024-11-23 12:33:07 +00:00
17 lines
498 B
Smarty
17 lines
498 B
Smarty
<div class="msg {{type}}{{#if self}} self{{/if}}{{#if highlight}} highlight{{/if}}" id="msg-{{id}}" data-time="{{time}}" data-from="{{from}}">
|
|
<span class="time tooltipped tooltipped-e" aria-label="{{localetime time}}">
|
|
{{tz time}}
|
|
</span>
|
|
<span class="from">
|
|
{{#if from}}
|
|
{{> user_name nick=from}}
|
|
{{/if}}
|
|
</span>
|
|
<span class="content">
|
|
<span class="text">{{{parse text}}}</span>
|
|
|
|
{{#each previews}}
|
|
<div class="preview" data-url="{{link}}"></div>
|
|
{{/each}}
|
|
</span>
|
|
</div>
|