8a4aa4efdd
This removes the need for `switch (obj)` in the template which is not allowed in strict mode. Additionally using a named variable speeds up rendering.
12 lines
438 B
HTML
12 lines
438 B
HTML
{[ if (o.use_emoji) { ]}
|
|
<li class="toggle-toolbar-menu toggle-smiley icon-happy" title="{{{o.label_insert_smiley}}}">
|
|
<ul class="emoji-picker"></ul>
|
|
</li>
|
|
{[ } ]}
|
|
{[ if (o.show_call_button) { ]}
|
|
<li class="toggle-call"><a class="icon-phone" title="{{{o.label_start_call}}}"></a></li>
|
|
{[ } ]}
|
|
{[ if (o.show_clear_button) { ]}
|
|
<li class="toggle-clear"><a class="icon-trash" title="{{{o.label_clear}}}"></a></li>
|
|
{[ } ]}
|