mirror of https://github.com/zulip/zulip.git
templates: Fix syntax.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
64584557b2
commit
d693b53aa6
|
@ -1,6 +1,6 @@
|
|||
<div class="{{this.class}}" aria-label="{{this.label}}" data-reaction-id="{{this.local_id}}">
|
||||
{{#if this.emoji_alt_code}}
|
||||
<div class="emoji_alt_code"> :{{this.emoji_name}}:</div>
|
||||
<div class="emoji_alt_code"> :{{this.emoji_name}}:</div>
|
||||
{{else if this.is_realm_emoji}}
|
||||
<img src="{{this.url}}" class="emoji" />
|
||||
{{else}}
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
{{#each default_status_messages_and_emoji_info}}
|
||||
<button type="button" class="button no-style user-status-value">
|
||||
{{#if emoji.emoji_alt_code}}
|
||||
<div class="emoji_alt_code"> :{{emoji.emoji_name}}:</div>
|
||||
<div class="emoji_alt_code"> :{{emoji.emoji_name}}:</div>
|
||||
{{else if emoji.url}}
|
||||
<img src="{{emoji.url}}" class="emoji status_emoji" />
|
||||
{{else}}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{{#if emoji_alt_code}}
|
||||
<span class="emoji_alt_code"> :{{emoji_name}}:</span>
|
||||
<span class="emoji_alt_code"> :{{emoji_name}}:</span>
|
||||
{{else if still_url}}
|
||||
<img src="{{still_url}}" class="emoji status_emoji" data-animated-url="{{url}}" data-still-url="{{still_url}}" />
|
||||
{{else if url}}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{{#if selected_emoji}}
|
||||
{{#if selected_emoji.emoji_alt_code}}
|
||||
<div class="emoji_alt_code"> :{{selected_emoji.emoji_name}}:</div>
|
||||
<div class="emoji_alt_code"> :{{selected_emoji.emoji_name}}:</div>
|
||||
{{else if selected_emoji.url}}
|
||||
<img src="{{selected_emoji.url}}" class="emoji selected_emoji" />
|
||||
{{else}}
|
||||
|
|
|
@ -66,7 +66,7 @@
|
|||
<span id="status_message">
|
||||
{{#if status_emoji_info}}
|
||||
{{#if status_emoji_info.emoji_alt_code}}
|
||||
<div class="emoji_alt_code"> :{{status_emoji_info.emoji_name}}:</div>
|
||||
<div class="emoji_alt_code"> :{{status_emoji_info.emoji_name}}:</div>
|
||||
{{else if status_emoji_info.url}}
|
||||
<img src="{{status_emoji_info.url}}" class="emoji status_emoji" />
|
||||
{{else}}
|
||||
|
|
Loading…
Reference in New Issue