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.

stream_settings: Display bot icon after bot name.

Vishesh Singh076774111f14
diff --git a/web/src/stream_edit_subscribers.ts b/web/src/stream_edit_subscribers.ts
index c55dcf5b90d..5195cdd67b7 100644
--- a/web/src/stream_edit_subscribers.ts
+++ b/web/src/stream_edit_subscribers.ts
@@ -52,6 +52,7 @@ function format_member_list_elem(person: User, user_can_remove_subscribers: bool
can_remove_subscribers: user_can_remove_subscribers,
for_user_group_members: false,
img_src: people.small_avatar_url_for_person(person),
+ is_bot: person.is_bot,
});
}
diff --git a/web/templates/user_display_only_pill.hbs b/web/templates/user_display_only_pill.hbs
index cae9b86ea14..4115631f501 100644
--- a/web/templates/user_display_only_pill.hbs
+++ b/web/templates/user_display_only_pill.hbs
@@ -16,4 +16,7 @@
{{#unless is_active}}
<i class="fa fa-ban pill-deactivated deactivated-user-icon tippy-zulip-delayed-tooltip" data-tippy-content="{{#if is_bot}}{{t 'Bot is deactivated' }}{{else}}{{t 'User is deactivated' }}{{/if}}"></i>
{{/unless}}
+ {{#if is_bot}}
+ <i class="zulip-icon zulip-icon-bot" aria-label="{{t 'Bot' }}"></i>
+ {{/if}}
</span>