thelounge/client/views/msg.tpl

23 lines
541 B
Smarty
Raw Normal View History

2016-02-23 10:38:51 +00:00
<div class="msg {{type}}{{#if self}} self{{/if}}{{#if highlight}} highlight{{/if}}">
2014-08-25 23:13:47 +00:00
<span class="time">
{{tz time}}
</span>
<span class="from">
{{#if from}}
<a href="#" class="user" style="color: #{{stringcolor from}}">{{mode}}{{from}}</a>
2014-08-25 23:13:47 +00:00
{{/if}}
</span>
<span class="text">
2014-09-27 19:17:05 +00:00
{{#equal type "toggle"}}
2014-09-27 23:47:04 +00:00
<div class="force-newline">
<button id="toggle-{{id}}" class="toggle-button">···</button>
</div>
{{#if toggle}}
{{partial "toggle"}}
{{/if}}
2014-08-25 23:13:47 +00:00
{{else}}
2014-09-27 23:47:04 +00:00
{{{parse text}}}
2014-08-25 23:13:47 +00:00
{{/equal}}
</span>
</div>