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}}
|
2016-02-12 11:34:10 +00:00
|
|
|
<a href="#" class="user" style="color: #{{stringcolor from}}" data-name="{{from}}">{{mode}}{{from}}</a>
|
2014-08-25 23:13:47 +00:00
|
|
|
{{/if}}
|
|
|
|
</span>
|
2016-04-02 23:35:38 +00:00
|
|
|
{{#equal type "toggle"}}
|
|
|
|
<span class="text">
|
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}}
|
2016-04-02 23:35:38 +00:00
|
|
|
</span>
|
|
|
|
{{else}}
|
|
|
|
<span class="text">{{{parse text}}}</span>
|
|
|
|
{{/equal}}
|
2014-08-25 23:13:47 +00:00
|
|
|
</span>
|
|
|
|
</div>
|