2017-04-28 22:26:22 +02:00
|
|
|
<div class="emoji-popover">
|
|
|
|
<div class="emoji-popover-top">
|
|
|
|
<input class="emoji-popover-filter" type="text" autofocus placeholder={{t 'Search' }} />
|
2017-02-15 21:09:42 +01:00
|
|
|
<i class="icon-vector-search"></i>
|
|
|
|
</div>
|
2017-04-28 22:26:22 +02:00
|
|
|
{{#if message_id}} {{! message_id -> message reaction, no message_id -> message composition }}
|
|
|
|
<div class="emoji-popover-emoji-map" data-message-id="{{message_id}}">
|
2017-02-15 21:09:42 +01:00
|
|
|
{{#each emojis}}
|
2017-04-28 22:26:22 +02:00
|
|
|
<div class="emoji-popover-emoji {{#if has_reacted}} reacted {{/if}} reaction" title={{name}} tabindex="0">
|
2017-03-20 22:03:53 +01:00
|
|
|
{{#if is_realm_emoji}}
|
|
|
|
<img src="{{url}}" class="emoji" title= ":{{name}}:" />
|
2017-02-15 21:09:42 +01:00
|
|
|
{{else}}
|
2017-03-20 22:03:53 +01:00
|
|
|
<div class="emoji emoji-{{css_class}}" title= ":{{name}}:" />
|
2017-02-15 21:09:42 +01:00
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
{{/each}}
|
|
|
|
</div>
|
2017-04-28 09:18:17 +02:00
|
|
|
{{else}}
|
2017-04-28 22:26:22 +02:00
|
|
|
<div class="emoji-popover-emoji-map">
|
2017-04-28 09:18:17 +02:00
|
|
|
{{#each emojis}}
|
2017-04-28 22:26:22 +02:00
|
|
|
<div class="emoji-popover-emoji composition" title={{name}} tabindex="0">
|
2017-04-28 09:18:17 +02:00
|
|
|
{{#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}}
|
2016-12-02 13:23:23 +01:00
|
|
|
</div>
|