Files
zulip/static/templates/starred_messages_sidebar_actions.hbs
Anders Kaseorg 5fed442bb1 templates: Remove context argument from {{#tr}} block helper.
It only had one nontrivial use, and it’s easily replaced using the
builtin {{#with}} block helper.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
2021-04-13 18:59:46 -07:00

24 lines
825 B
Handlebars

{{! Contents of the "starred messages sidebar" popup }}
<ul class="nav nav-list">
{{! tabindex="0" Makes anchor tag focusable. Needed for keyboard support. }}
{{#if show_unstar_all_button}}
<li>
<a tabindex="0" id="unstar_all_messages">
<i class="fa fa-star-o" aria-hidden="true"></i>
{{#tr}}Unstar all messages{{/tr}}
</a>
</li>
{{/if}}
<li>
<a tabindex="0" id="toggle_display_starred_msg_count">
{{#if starred_message_counts}}
<i class="fa fa-eye-slash" aria-hidden="true"></i>
{{#tr}}Hide starred message count{{/tr}}
{{else}}
<i class="fa fa-eye" aria-hidden="true"></i>
{{#tr}}Show starred message count{{/tr}}
{{/if}}
</a>
</li>
</ul>