mirror of
https://github.com/thelounge/thelounge
synced 2024-11-27 06:20:26 +00:00
f89054784f
Fix data-from on messages
17 lines
533 B
Smarty
17 lines
533 B
Smarty
<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}}>
|
|
<span class="time tooltipped tooltipped-e" aria-label="{{localetime time}}">
|
|
{{tz time}}
|
|
</span>
|
|
<span class="from">
|
|
{{#if from.nick}}
|
|
{{> user_name from}}
|
|
{{/if}}
|
|
</span>
|
|
<span class="content">
|
|
<span class="text">{{{parse text users}}}</span>
|
|
|
|
{{#each previews}}
|
|
<div class="preview" data-url="{{link}}"></div>
|
|
{{/each}}
|
|
</span>
|
|
</div>
|