2014-09-14 18:49:42 +00:00
|
|
|
<div class="msg {{type}} {{#if self}}self{{/if}}">
|
2014-08-25 23:13:47 +00:00
|
|
|
<span class="time">
|
|
|
|
{{tz time}}
|
|
|
|
</span>
|
|
|
|
<span class="from">
|
|
|
|
{{#if from}}
|
2016-01-09 19:16:44 +00:00
|
|
|
<button class="user" style="color: #{{stringcolor from}}">{{mode}}{{from}}</button>
|
2014-08-25 23:13:47 +00:00
|
|
|
{{/if}}
|
|
|
|
</span>
|
|
|
|
<span class="text">
|
|
|
|
<em class="type">{{type}}</em>
|
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>
|