Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
typehead_list_item: Change the groups icon to zulip-triple-user-icon.
CIC4DAd7b9c2c21c12
diff --git a/web/styles/zulip.css b/web/styles/zulip.cssindex c88b04f5880..dc0127cfa92 100644--- a/web/styles/zulip.css+++ b/web/styles/zulip.css@@ -1848,10 +1848,14 @@ div.focused-message-list {right: 8px;border-radius: 4px;- /* For FontAwesome icons used in place of images for some users. */+ /* For FontAwesome icons and zulip icons used in place of images for some users. */font-size: 19px;text-align: center;+ &.zulip-icon-triple-users {+ font-size: 19px;+ }+&.no-presence-circle {margin-left: 9px;top: 3px;diff --git a/web/templates/typeahead_list_item.hbs b/web/templates/typeahead_list_item.hbsindex 91a4803e8d2..51df0ebf5be 100644--- a/web/templates/typeahead_list_item.hbs+++ b/web/templates/typeahead_list_item.hbs@@ -15,7 +15,7 @@<span class='typeahead-image fa fa-bullhorn no-presence-circle'></span>{{/if}}{{else if is_user_group}}- <i class="typeahead-image icon fa fa-group no-presence-circle" aria-hidden="true"></i>+ <i class="typeahead-image zulip-icon zulip-icon-triple-users no-presence-circle" aria-hidden="true"></i>{{/if}}<strong>{{~#if stream}}diff --git a/web/tests/composebox_typeahead.test.js b/web/tests/composebox_typeahead.test.jsindex bcfb07eaa83..429b50fce75 100644--- a/web/tests/composebox_typeahead.test.js+++ b/web/tests/composebox_typeahead.test.js@@ -1063,7 +1063,7 @@ test("initialize", ({override, override_rewire, mock_template}) => {ct.get_or_set_token_for_testing("hamletcharacters");actual_value = options.highlighter_html(hamletcharacters);expected_value =- ' <i class="typeahead-image icon fa fa-group no-presence-circle" aria-hidden="true"></i>\n<strong>hamletcharacters</strong> \n<small class="autocomplete_secondary">Characters of Hamlet</small>\n';+ ' <i class="typeahead-image zulip-icon zulip-icon-triple-users no-presence-circle" aria-hidden="true"></i>\n<strong>hamletcharacters</strong> \n<small class="autocomplete_secondary">Characters of Hamlet</small>\n';assert.equal(actual_value, expected_value);// matching