mirror of
https://github.com/zulip/zulip.git
synced 2026-07-18 21:04:19 +08:00
demo-orgs: Update tooltip text for disabled manage API key button.
Part of #34447.
This commit is contained in:
parent
7d813e2836
commit
8d8ebaf842
@ -449,10 +449,7 @@ export function initialize(): void {
|
||||
});
|
||||
|
||||
tippy.delegate("body", {
|
||||
target: [
|
||||
"#api_key_button_container.disabled_setting_tooltip",
|
||||
"#user_email_address_dropdown_container.disabled_setting_tooltip",
|
||||
].join(","),
|
||||
target: "#user_email_address_dropdown_container.disabled_setting_tooltip",
|
||||
content: $t({
|
||||
defaultMessage: "You must configure your email to access this feature.",
|
||||
}),
|
||||
@ -462,6 +459,17 @@ export function initialize(): void {
|
||||
},
|
||||
});
|
||||
|
||||
tippy.delegate("body", {
|
||||
target: "#api_key_button_container.disabled_setting_tooltip",
|
||||
content: $t({
|
||||
defaultMessage: "Add an email to access your API key.",
|
||||
}),
|
||||
appendTo: () => document.body,
|
||||
onHidden(instance) {
|
||||
instance.destroy();
|
||||
},
|
||||
});
|
||||
|
||||
tippy.delegate("body", {
|
||||
target: "[data-tab-key='invite-email-tab'].disabled",
|
||||
content: $t({
|
||||
|
||||
Loading…
Reference in New Issue
Block a user