zulip/static/templates/status_emoji_selector.hbs

14 lines
491 B
Handlebars

{{#if selected_emoji}}
{{#if selected_emoji.emoji_alt_code}}
<div class="emoji_alt_code">&nbsp:{{selected_emoji.emoji_name}}:</div>
{{else}}
{{#if selected_emoji.url}}
<img src="{{selected_emoji.url}}" class="emoji selected_emoji" />
{{else}}
<div class="emoji selected_emoji emoji-{{selected_emoji.emoji_code}}"></div>
{{/if}}
{{/if}}
{{else}}
<a type="button" class="smiley_icon status_emoji show fa fa-smile-o"></a>
{{/if}}