settings: Fix display of status emoji in “User list style”.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2024-11-15 18:46:13 -08:00 committed by Tim Abbott
parent f7fe96f814
commit 44c50b3e64
1 changed files with 3 additions and 3 deletions

View File

@ -17,14 +17,14 @@
{{#if (eq this.code 1)}}
<div class="user-name-and-status-emoji">
<span class="user-name">{{../full_name}}</span>
{{> ../status_emoji emoji_code="1f3e0"}}
{{> ../status_emoji emoji_name="house" emoji_code="1f3e0"}}
</div>
{{/if}}
{{#if (eq this.code 2)}}
<div class="user-name-and-status-text">
<div class="user-name-and-status-emoji">
<span class="user-name">{{../full_name}}</span>
{{> ../status_emoji emoji_code="1f3e0"}}
{{> ../status_emoji emoji_name="house" emoji_code="1f3e0"}}
</div>
<span class="status-text">{{t "Working remotely" }}</span>
</div>
@ -37,7 +37,7 @@
<div class="user-name-and-status-wrapper">
<div class="user-name-and-status-emoji">
<span class="user-name">{{../full_name}}</span>
{{> ../status_emoji emoji_code="1f3e0"}}
{{> ../status_emoji emoji_name="house" emoji_code="1f3e0"}}
</div>
<span class="status-text">{{t "Working remotely" }}</span>
</div>