Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
bots: Display bot role in lowercase in user card and user profile modal.
Sayam Samal96a105b31552
diff --git a/web/styles/app_components.css b/web/styles/app_components.cssindex 764a35c08f8..0b6815f99ad 100644--- a/web/styles/app_components.css+++ b/web/styles/app_components.css@@ -85,6 +85,10 @@ kbd {order: 3;}+.lowercase {+ text-transform: lowercase;+}+/*Consistent placeholder styling, introduced to allow us to style theReply box like a placeholder. Chrome uses color to set placeholder,diff --git a/web/templates/popovers/user_card/user_card_popover.hbs b/web/templates/popovers/user_card/user_card_popover.hbsindex 39d5b1f3ff0..85a2825d1aa 100644--- a/web/templates/popovers/user_card/user_card_popover.hbs+++ b/web/templates/popovers/user_card/user_card_popover.hbs@@ -18,7 +18,9 @@{{#if is_system_bot}}<div>{{t "System bot" }}</div>{{else}}- <div>{{t "Bot ({user_type})" }}</div>+ <div>{{t "Bot" }}+ <span class="lowercase">({{user_type}})</span>+ </div>{{/if}}{{else}}<div>{{ user_type }}</div>diff --git a/web/templates/user_profile_modal.hbs b/web/templates/user_profile_modal.hbsindex 16ff8fc0e91..bed33215aa1 100644--- a/web/templates/user_profile_modal.hbs+++ b/web/templates/user_profile_modal.hbs@@ -57,7 +57,9 @@{{#if is_system_bot}}<div class="value">{{t "System bot" }}</div>{{else}}- <div class="value">{{t "Bot ({user_type})" }}</div>+ <div class="value">{{t "Bot" }}+ <span class="lowercase">({{user_type}})</span>+ </div>{{/if}}{{else}}<div class="value">{{user_type}}</div>