eb4a4c7dfe
Closes #1241
24 lines
662 B
Smarty
24 lines
662 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>
|
|
{{#equal type "toggle"}}
|
|
<span class="text">
|
|
<div class="force-newline">
|
|
<button id="toggle-{{id}}" class="toggle-button" aria-label="Toggle prefetched media">···</button>
|
|
</div>
|
|
{{#if toggle}}
|
|
{{> toggle}}
|
|
{{/if}}
|
|
</span>
|
|
{{else}}
|
|
<span class="text">{{{parse text}}}</span>
|
|
{{/equal}}
|
|
</span>
|
|
</div>
|