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

10 lines
391 B
Handlebars
Raw Normal View History

{{#with emoji_dict}}
<div class="emoji-popover-emoji {{#if has_reacted}}reacted{{/if}}" data-emoji-name="{{#if emoji_name}}{{emoji_name}}{{else}}{{name}}{{/if}}" 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}}