composebox_typeahead: Update order of user typeahead elements.

Also fixes the extra comma issue
linked below.
Fixes: https://chat.zulip.org/#narrow/channel/9-issues/topic/.F0.9F.8E.AF.20extraneous.20comma.20after.20pronouns/with/2088251.
This commit is contained in:
apoorvapendse 2025-02-14 07:43:44 +05:30 committed by Tim Abbott
parent b5b2d1e364
commit 2204863aa2
2 changed files with 7 additions and 3 deletions

View File

@ -198,4 +198,8 @@
i.zulip-icon-bot {
align-self: center;
}
.status-emoji {
margin-left: 0;
}
}

View File

@ -41,15 +41,15 @@
{{~#if is_bot}}
<i class="zulip-icon zulip-icon-bot" aria-label="{{t 'Bot' }}"></i>
{{/if}}
{{~#if has_pronouns}}
<span class="pronouns">{{pronouns}}{{#if (or has_secondary_html has_secondary)}},{{/if}}</span>
{{~/if}}
{{~#if should_add_guest_user_indicator}}
<i>({{t 'guest'}})</i>
{{~/if}}
{{~#if has_status}}
{{> status_emoji status_emoji_info}}
{{~/if}}
{{~#if has_pronouns}}
<span class="pronouns">{{pronouns}}{{#if (or has_secondary_html has_secondary)}},{{/if}}</span>
{{~/if}}
{{~#if has_secondary_html}}
<span class="autocomplete_secondary rendered_markdown single-line-rendered-markdown">{{rendered_markdown secondary_html}}</span>
{{~else if has_secondary}}