Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
{{#if (eq toggle_type "expander")}}
<button type="button" class="message_expander message_length_toggle"
{{#if tooltip_template_id}}
data-enable-tooltip="true" data-tooltip-template-id="{{ tooltip_template_id }}"
{{else}}
data-enable-tooltip="false"
{{/if}}>
{{ label_text }}
</button>
{{else if (eq toggle_type "condenser")}}
<button type="button" class="message_condenser message_length_toggle"
{{#if tooltip_template_id}}
data-enable-tooltip="true" data-tooltip-template-id="{{ tooltip_template_id }}"
{{else}}
data-enable-tooltip="false"
{{/if}}>
{{ label_text }}
</button>
{{/if}}