zulip/static/templates/emoji_popover_emoji.handlebars

10 lines
435 B
Handlebars
Raw Normal View History

{{#with emoji_dict}}
<div class="emoji-popover-emoji {{# if ../message_id }}{{#if has_reacted}} reacted {{/if}} reaction {{else}} composition {{/if}}" title={{name}} tabindex="0" data-emoji-id="{{../type}}_{{../section}}_{{../index}}">
{{#if is_realm_emoji}}
<img src="{{url}}" class="emoji" title= ":{{name}}:" />
{{else}}
<div class="emoji emoji-{{css_class}}" title= ":{{name}}:"></div>
{{/if}}
</div>
{{/with}}