mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 13:03:29 +00:00
Now that `emoji_collection` and `emojis_by_name` are global datasources in the webapp we need to rename things carefully to reflect their actual meaning. The fact that emoji code is used as a css class for unicode emoji is one thing but it is not its sole use so renaming it seems a good idea.
11 lines
307 B
Handlebars
11 lines
307 B
Handlebars
{{#with emoji_dict}}
|
|
<div class="emoji-showcase">
|
|
{{#if is_realm_emoji}}
|
|
<img src="{{url}}" class="emoji emoji-preview"/>
|
|
{{else}}
|
|
<div class="emoji emoji-preview emoji-{{emoji_code}}"></div>
|
|
{{/if}}
|
|
<div class="emoji-canonical-name" title="{{name}}">{{name}}</div>
|
|
</div>
|
|
{{/with}}
|