2014-08-25 19:13:47 -04:00
|
|
|
{{#each messages}}
|
2014-09-14 14:49:42 -04:00
|
|
|
<div class="msg {{type}} {{#if self}}self{{/if}}">
|
2014-08-25 19:13:47 -04:00
|
|
|
<span class="time">
|
|
|
|
{{tz time}}
|
|
|
|
</span>
|
|
|
|
<span class="from">
|
|
|
|
{{#if from}}
|
2014-10-04 08:31:45 -04:00
|
|
|
<button class="user" style="color: #{{stringcolor from}}">{{mode}}{{from}}</button>
|
2014-08-25 19:13:47 -04:00
|
|
|
{{/if}}
|
|
|
|
</span>
|
|
|
|
<span class="text">
|
|
|
|
<em class="type">{{type}}</em>
|
2014-09-27 15:17:05 -04:00
|
|
|
{{#equal type "toggle"}}
|
2014-09-27 19:47:04 -04:00
|
|
|
<div class="force-newline">
|
|
|
|
<button id="toggle-{{id}}" class="toggle-button">···</button>
|
|
|
|
</div>
|
|
|
|
{{#if toggle}}
|
|
|
|
{{partial "toggle"}}
|
|
|
|
{{/if}}
|
2014-08-25 19:13:47 -04:00
|
|
|
{{else}}
|
2014-09-27 19:47:04 -04:00
|
|
|
{{{parse text}}}
|
2014-08-25 19:13:47 -04:00
|
|
|
{{/equal}}
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
{{/each}}
|