mirror of
https://github.com/zulip/zulip.git
synced 2025-11-09 16:37:23 +00:00
settings-account: Move tooltip for email change disabled to button.
Moves the tooltip when email changes are disabled to be shown on hovering over the email button text and pencil icon. Removes the question icon that previously showed the tooltip on hover.
This commit is contained in:
committed by
Tim Abbott
parent
c50de056c9
commit
19f2795e41
@@ -398,6 +398,15 @@ export function initialize() {
|
||||
},
|
||||
});
|
||||
|
||||
delegate("body", {
|
||||
target: ["#change_email_button_container.email_changes_disabled_tooltip"],
|
||||
content: $t({defaultMessage: "Email address changes are disabled in this organization."}),
|
||||
appendTo: () => document.body,
|
||||
onHidden(instance) {
|
||||
instance.destroy();
|
||||
},
|
||||
});
|
||||
|
||||
delegate("body", {
|
||||
target: "#pm_tooltip_container",
|
||||
onShow(instance) {
|
||||
|
||||
Reference in New Issue
Block a user