diff --git a/web/src/tippyjs.ts b/web/src/tippyjs.ts index 84d69630be..ead2bf7940 100644 --- a/web/src/tippyjs.ts +++ b/web/src/tippyjs.ts @@ -423,7 +423,7 @@ export function initialize(): void { }); tippy.delegate("body", { - target: "#change_email_button_container.disabled_setting_tooltip", + target: "#email_field_container.disabled_setting_tooltip", content: $t({defaultMessage: "Email address changes are disabled in this organization."}), appendTo: () => document.body, onHidden(instance) { diff --git a/web/templates/settings/account_settings.hbs b/web/templates/settings/account_settings.hbs index 1adf40eb34..c20e80695c 100644 --- a/web/templates/settings/account_settings.hbs +++ b/web/templates/settings/account_settings.hbs @@ -9,9 +9,14 @@
- +
+ +
+ {{#if user_can_change_email}} + + {{/if}}