mirror of https://github.com/zulip/zulip.git
32 lines
1.2 KiB
Handlebars
32 lines
1.2 KiB
Handlebars
<div class="emoji-popover">
|
|
<div class="emoji-popover-top">
|
|
<input class="emoji-popover-filter" type="text" autofocus placeholder={{t 'Search' }} />
|
|
<i class="icon-vector-search"></i>
|
|
</div>
|
|
{{#if message_id}} {{! message_id -> message reaction, no message_id -> message composition }}
|
|
<div class="emoji-popover-emoji-map" data-message-id="{{message_id}}">
|
|
{{#each emojis}}
|
|
<div class="emoji-popover-emoji {{#if has_reacted}} reacted {{/if}} reaction" title={{name}} tabindex="0">
|
|
{{#if is_realm_emoji}}
|
|
<img src="{{url}}" class="emoji" title= ":{{name}}:" />
|
|
{{else}}
|
|
<div class="emoji emoji-{{css_class}}" title= ":{{name}}:" />
|
|
{{/if}}
|
|
</div>
|
|
{{/each}}
|
|
</div>
|
|
{{else}}
|
|
<div class="emoji-popover-emoji-map">
|
|
{{#each emojis}}
|
|
<div class="emoji-popover-emoji composition" title={{name}} tabindex="0">
|
|
{{#if is_realm_emoji}}
|
|
<img src="{{url}}" class="emoji" title= ":{{name}}:" />
|
|
{{else}}
|
|
<div class="emoji emoji-{{css_class}}" title= ":{{name}}:" />
|
|
{{/if}}
|
|
</div>
|
|
{{/each}}
|
|
</div>
|
|
{{/if}}
|
|
</div>
|