mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
user_profile: Show manage profile tab for admin's own profile.
Previouly admins did not see "Manage user" tab in their own profile modal. This commit updates it to show the "Manage user" tab to admins in their own profile modal as well. Fixes part of #34830.
This commit is contained in:
committed by
Tim Abbott
parent
30c6b35b95
commit
9813f11abf
@@ -22,8 +22,7 @@
|
||||
{{> components/icon_button custom_classes="copy-link-to-user-profile tippy-zulip-delayed-tooltip" icon="link-alt" intent="neutral" data-tippy-content=(t "Copy link to profile") aria-label=(t "Copy link to profile") }}
|
||||
{{#if is_me}}
|
||||
{{> components/icon_button custom_classes="user-profile-manage-own-edit-button tippy-zulip-delayed-tooltip" icon="edit" intent="neutral" data-tippy-content=(t "Edit profile") aria-label=(t "Edit profile") }}
|
||||
{{/if}}
|
||||
{{#if can_manage_profile}}
|
||||
{{else if can_manage_profile}}
|
||||
{{#if is_bot}}
|
||||
{{> components/icon_button custom_classes="user-profile-manage-others-edit-button tippy-zulip-delayed-tooltip" icon="edit" intent="neutral" data-tippy-content=(t "Manage bot") aria-label=(t "Manage bot") }}
|
||||
{{else}}
|
||||
|
Reference in New Issue
Block a user