feat: update SLA upgrade banner (#9291)
feat: add cancel anytime notice
This commit is contained in:
@@ -10,7 +10,8 @@
|
|||||||
"TITLE": "Upgrade to create SLAs",
|
"TITLE": "Upgrade to create SLAs",
|
||||||
"AVAILABLE_ON": "The SLA feature is only available in the Business and Enterprise plans.",
|
"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_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": {
|
"ENTERPRISE_PAYWALL": {
|
||||||
"AVAILABLE_ON": "The SLA feature is only available in the paid plans.",
|
"AVAILABLE_ON": "The SLA feature is only available in the paid plans.",
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ const i18nKey = props.isOnChatwootCloud ? 'PAYWALL' : 'ENTERPRISE_PAYWALL';
|
|||||||
{{ $t('SLA.ENTERPRISE_PAYWALL.ASK_ADMIN') }}
|
{{ $t('SLA.ENTERPRISE_PAYWALL.ASK_ADMIN') }}
|
||||||
</span>
|
</span>
|
||||||
</p>
|
</p>
|
||||||
<template v-if="isOnChatwootCloud">
|
<template v-if="isOnChatwootCloud || true">
|
||||||
<woot-button
|
<woot-button
|
||||||
color-scheme="primary"
|
color-scheme="primary"
|
||||||
class="w-full mt-2 text-center rounded-xl"
|
class="w-full mt-2 text-center rounded-xl"
|
||||||
@@ -55,8 +55,11 @@ const i18nKey = props.isOnChatwootCloud ? 'PAYWALL' : 'ENTERPRISE_PAYWALL';
|
|||||||
>
|
>
|
||||||
{{ $t('SLA.PAYWALL.UPGRADE_NOW') }}
|
{{ $t('SLA.PAYWALL.UPGRADE_NOW') }}
|
||||||
</woot-button>
|
</woot-button>
|
||||||
|
<span class="mt-2 text-xs tracking-tight text-center">
|
||||||
|
{{ $t('SLA.PAYWALL.CANCEL_ANYTIME') }}
|
||||||
|
</span>
|
||||||
</template>
|
</template>
|
||||||
<template v-if="isSuperAdmin">
|
<template v-else-if="isSuperAdmin">
|
||||||
<a href="/super_admin" class="block w-full">
|
<a href="/super_admin" class="block w-full">
|
||||||
<woot-button
|
<woot-button
|
||||||
color-scheme="primary"
|
color-scheme="primary"
|
||||||
|
|||||||
Reference in New Issue
Block a user