zulip/web/templates/status_emoji.hbs

13 lines
464 B
Handlebars
Raw Normal View History

{{#if .}}
{{#if emoji_alt_code}}
<span class="emoji_alt_code">&nbsp;:{{emoji_name}}:</span>
{{else if still_url}}
2023-03-15 21:56:35 +01:00
<img src="{{still_url}}" class="emoji status-emoji" data-animated-url="{{url}}" data-still-url="{{still_url}}" />
{{else if url}}
{{!-- note that we have no still_url --}}
2023-03-15 21:56:35 +01:00
<img src="{{url}}" class="emoji status-emoji" data-animated-url="{{url}}" />
{{else if emoji_code}}
2023-03-15 21:56:35 +01:00
<span class="emoji status-emoji emoji-{{emoji_code}}"></span>
{{/if}}
{{/if}}