mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
stream_settings: Display bot icon after bot name.
Render bot icon for bot users. fixes part of #28561.
This commit is contained in:
committed by
Tim Abbott
parent
37e0dff013
commit
076774111f
@@ -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,
|
||||
});
|
||||
}
|
||||
|
||||
|
@@ -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>
|
||||
|
Reference in New Issue
Block a user