From 8c813097db4e51f609db8b829af4112d75d1260d Mon Sep 17 00:00:00 2001
From: Shivam Mishra
Date: Wed, 24 Apr 2024 17:19:35 +0530
Subject: [PATCH] feat: update SLA upgrade banner (#9291)
feat: add cancel anytime notice
---
app/javascript/dashboard/i18n/locale/en/sla.json | 5 +++--
.../settings/sla/components/SLAPaywallEnterprise.vue | 7 +++++--
2 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/app/javascript/dashboard/i18n/locale/en/sla.json b/app/javascript/dashboard/i18n/locale/en/sla.json
index e3c1c9a06..f32f24b61 100644
--- a/app/javascript/dashboard/i18n/locale/en/sla.json
+++ b/app/javascript/dashboard/i18n/locale/en/sla.json
@@ -10,7 +10,8 @@
"TITLE": "Upgrade to create SLAs",
"AVAILABLE_ON": "The SLA feature is only available in the Business and Enterprise plans.",
"UPGRADE_PROMPT": "Upgrade your plan to get access to advanced features like team management, automations, custom attributes, and more.",
- "UPGRADE_NOW": "Upgrade now"
+ "UPGRADE_NOW": "Upgrade now",
+ "CANCEL_ANYTIME": "You can change or cancel your plan anytime"
},
"ENTERPRISE_PAYWALL": {
"AVAILABLE_ON": "The SLA feature is only available in the paid plans.",
@@ -104,4 +105,4 @@
"HIDE": "Hide {count} rows"
}
}
-}
+}
\ No newline at end of file
diff --git a/app/javascript/dashboard/routes/dashboard/settings/sla/components/SLAPaywallEnterprise.vue b/app/javascript/dashboard/routes/dashboard/settings/sla/components/SLAPaywallEnterprise.vue
index f5f8707c1..6c69baa4c 100644
--- a/app/javascript/dashboard/routes/dashboard/settings/sla/components/SLAPaywallEnterprise.vue
+++ b/app/javascript/dashboard/routes/dashboard/settings/sla/components/SLAPaywallEnterprise.vue
@@ -45,7 +45,7 @@ const i18nKey = props.isOnChatwootCloud ? 'PAYWALL' : 'ENTERPRISE_PAYWALL';
{{ $t('SLA.ENTERPRISE_PAYWALL.ASK_ADMIN') }}
-
+
{{ $t('SLA.PAYWALL.UPGRADE_NOW') }}
+
+ {{ $t('SLA.PAYWALL.CANCEL_ANYTIME') }}
+
-
+