zulip/web/templates/popovers/emoji/emoji_popover_emoji.hbs

10 lines
458 B
Handlebars
Raw Normal View History

{{#with emoji_dict}}
2023-03-15 21:56:35 +01:00
<div class="emoji-popover-emoji {{#if ../message_id }}{{#if has_reacted}} reacted {{/if}} reaction {{else if ../is_status_emoji_popover}} status-emoji {{else}} composition {{/if}}" data-emoji-name="{{name}}" tabindex="0" data-emoji-id="{{../type}},{{../section}},{{../index}}">
{{#if is_realm_emoji}}
<img src="{{url}}" class="emoji"/>
{{else}}
<div class="emoji emoji-{{emoji_code}}"></div>
{{/if}}
</div>
{{/with}}