From fbcbef20e7b193d6c69334a1da3c0d16936c5ec4 Mon Sep 17 00:00:00 2001 From: Alex Grozav Date: Wed, 14 Dec 2022 15:43:13 +0200 Subject: [PATCH] feat(editor): Update user management setup message when sharing is disabled (#4928) * feat: Update user management setup message when sharing is disabled * feat: Update messages when sharing license unavailable * fix: fix linting issue --- packages/editor-ui/src/plugins/i18n/locales/en.json | 13 ++++++------- packages/editor-ui/src/views/SettingsUsersView.vue | 11 +++++++++-- 2 files changed, 15 insertions(+), 9 deletions(-) diff --git a/packages/editor-ui/src/plugins/i18n/locales/en.json b/packages/editor-ui/src/plugins/i18n/locales/en.json index 98a7aac39..241f2f84b 100644 --- a/packages/editor-ui/src/plugins/i18n/locales/en.json +++ b/packages/editor-ui/src/plugins/i18n/locales/en.json @@ -1097,7 +1097,8 @@ "settings.users.setupSMTPToInviteUsers": "Set up SMTP to invite users. {action}", "settings.users.setupSMTPToInviteUsers.instructions": "Instructions", "settings.users.setupToInviteUsers": "To invite users, set up your own account", - "settings.users.setupToInviteUsersInfo": "Invited users won’t be able to see workflows and credentials of other users. More info

You will need details of an SMTP server to complete the setup.", + "settings.users.setupToInviteUsersInfo": "Invited users won’t be able to see workflows and credentials of other users unless you upgrade. More info

", + "settings.users.setupSMTPInfo": "You will need details of an SMTP server to complete the setup.", "settings.users.smtpToAddUsersWarning": "Set up SMTP before adding users (so that n8n can send them invitation emails). Instructions", "settings.users.transferWorkflowsAndCredentials": "Transfer their workflows and credentials to another user", "settings.users.transferredToUser": "Data transferred to {user}", @@ -1416,8 +1417,6 @@ "workflows.shareModal.saveBeforeClose.cancelButtonText": "Close without saving", "workflows.shareModal.save": "Save", "workflows.shareModal.changesHint": "You made changes", - "workflows.shareModal.notAvailable": "Sharing workflows with others is currently available only on n8n cloud, our hosted offering.", - "workflows.shareModal.notAvailable.button": "Explore n8n cloud", "workflows.shareModal.isDefaultUser.description": "You first need to set up your owner account to enable workflow sharing features.", "workflows.shareModal.isDefaultUser.button": "Go to settings", "workflows.shareModal.info.sharee": "Only {workflowOwnerName} can change who this workflow is shared with", @@ -1440,11 +1439,11 @@ "importParameter.showError.invalidProtocol.message": "The HTTP node doesn’t support {protocol} requests", "dynamic.workflows.shareModal.title": "Share '{name}'", "dynamic.workflows.shareModal.title.cloud.upgrade": "Upgrade to add users", - "dynamic.workflows.sharing.unavailable.description": "Sharing workflows with others is currently available only on n8n cloud, our hosted offering. {action}", + "dynamic.workflows.sharing.unavailable.description": "You can collaborate with others on workflows when you upgrade your plan. {action}", "dynamic.workflows.sharing.unavailable.description.cloud.upgrade": "Sharing is available for Team and Enterprise plans. {action} to unlock more features.", - "dynamic.workflows.sharing.unavailable.action": "Explore n8n cloud", + "dynamic.workflows.sharing.unavailable.action": "See plans", "dynamic.workflows.sharing.unavailable.action.cloud.upgrade": "Upgrade now", - "dynamic.workflows.sharing.unavailable.button": "Explore n8n cloud", + "dynamic.workflows.sharing.unavailable.button": "See plans", "dynamic.workflows.sharing.unavailable.button.cloud.upgrade": "Upgrade now", - "dynamic.workflows.sharing.unavailable.linkUrl": "https://n8n.cloud" + "dynamic.workflows.sharing.unavailable.linkUrl": "https://subscription.n8n.io/" } diff --git a/packages/editor-ui/src/views/SettingsUsersView.vue b/packages/editor-ui/src/views/SettingsUsersView.vue index cb16acf6d..e0ce88817 100644 --- a/packages/editor-ui/src/views/SettingsUsersView.vue +++ b/packages/editor-ui/src/views/SettingsUsersView.vue @@ -30,7 +30,7 @@ @@ -51,7 +51,11 @@