Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

composebox_typeahead: Update order of user typeahead elements.

apoorvapendse2204863aa2f1
diff --git a/web/styles/typeahead.css b/web/styles/typeahead.css
index 5f44de36785..59296f31c32 100644
--- a/web/styles/typeahead.css
+++ b/web/styles/typeahead.css
@@ -198,4 +198,8 @@
i.zulip-icon-bot {
align-self: center;
}
+
+ .status-emoji {
+ margin-left: 0;
+ }
}
diff --git a/web/templates/typeahead_list_item.hbs b/web/templates/typeahead_list_item.hbs
index 8ed963a8158..5473b5fd07e 100644
--- a/web/templates/typeahead_list_item.hbs
+++ b/web/templates/typeahead_list_item.hbs
@@ -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}}