mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 04:53:36 +00:00
Using the existing tooltip template for the other "add emoji reaction" element in message_controls results in the keyboard shortcut being shown and avoids doing work to translate the string for every single message containing emoji reactions.
10 lines
430 B
Handlebars
10 lines
430 B
Handlebars
{{#each this/msg/message_reactions}}
|
|
{{> message_reaction}}
|
|
{{/each}}
|
|
<div class="reaction_button" role="button" aria-haspopup="true" data-tooltip-template-id="add-emoji-tooltip-template" aria-label="{{t 'Add emoji reaction' }} (:)">
|
|
<div class="emoji-message-control-button-container">
|
|
<i class="zulip-icon zulip-icon-smile" tabindex="0"></i>
|
|
<div class="message_reaction_count">+</div>
|
|
</div>
|
|
</div>
|