templates: Fix   syntax.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2023-03-15 16:34:32 -07:00
parent 64584557b2
commit d693b53aa6
5 changed files with 5 additions and 5 deletions

View File

@ -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">&nbsp:{{this.emoji_name}}:</div>
<div class="emoji_alt_code">&nbsp;:{{this.emoji_name}}:</div>
{{else if this.is_realm_emoji}}
<img src="{{this.url}}" class="emoji" />
{{else}}

View File

@ -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">&nbsp:{{emoji.emoji_name}}:</div>
<div class="emoji_alt_code">&nbsp;:{{emoji.emoji_name}}:</div>
{{else if emoji.url}}
<img src="{{emoji.url}}" class="emoji status_emoji" />
{{else}}

View File

@ -1,5 +1,5 @@
{{#if emoji_alt_code}}
<span class="emoji_alt_code">&nbsp:{{emoji_name}}:</span>
<span class="emoji_alt_code">&nbsp;:{{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}}

View File

@ -1,6 +1,6 @@
{{#if selected_emoji}}
{{#if selected_emoji.emoji_alt_code}}
<div class="emoji_alt_code">&nbsp:{{selected_emoji.emoji_name}}:</div>
<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}}

View File

@ -66,7 +66,7 @@
<span id="status_message">
{{#if status_emoji_info}}
{{#if status_emoji_info.emoji_alt_code}}
<div class="emoji_alt_code">&nbsp:{{status_emoji_info.emoji_name}}:</div>
<div class="emoji_alt_code">&nbsp;:{{status_emoji_info.emoji_name}}:</div>
{{else if status_emoji_info.url}}
<img src="{{status_emoji_info.url}}" class="emoji status_emoji" />
{{else}}