diff --git a/apps/web/src/app/billing/organizations/organization-subscription-cloud.component.html b/apps/web/src/app/billing/organizations/organization-subscription-cloud.component.html index 86e5306fd9..d3573f5087 100644 --- a/apps/web/src/app/billing/organizations/organization-subscription-cloud.component.html +++ b/apps/web/src/app/billing/organizations/organization-subscription-cloud.component.html @@ -92,8 +92,23 @@ {{ "free" | i18n }} + + + {{ "secretsManager" | i18n }} - + {{ "beta" | i18n }} + ({{ "annually" | i18n }}) @ + {{ 0 | currency : "$" }} + {{ + "betaEnding" | i18n | uppercase + }} + + {{ 0 | currency : "$" }} /{{ "year" | i18n }} + + + {{ "smBetaEndedDesc" | i18n : secretsManagerBetaDaysRemaining }} + diff --git a/apps/web/src/app/billing/organizations/organization-subscription-cloud.component.ts b/apps/web/src/app/billing/organizations/organization-subscription-cloud.component.ts index 19649b180f..ed0af06e6a 100644 --- a/apps/web/src/app/billing/organizations/organization-subscription-cloud.component.ts +++ b/apps/web/src/app/billing/organizations/organization-subscription-cloud.component.ts @@ -17,6 +17,7 @@ import { ConfigServiceAbstraction } from "@bitwarden/common/platform/abstraction import { I18nService } from "@bitwarden/common/platform/abstractions/i18n.service"; import { LogService } from "@bitwarden/common/platform/abstractions/log.service"; import { PlatformUtilsService } from "@bitwarden/common/platform/abstractions/platform-utils.service"; +import { Utils } from "@bitwarden/common/platform/misc/utils"; import { BillingSyncApiKeyComponent, @@ -41,6 +42,7 @@ export class OrganizationSubscriptionCloudComponent implements OnInit, OnDestroy showAdjustSecretsManager = false; showSecretsManagerSubscribe = false; + secretsManagerBetaDaysRemaining = Utils.daysRemaining(new Date(2023, 9, 1)); firstLoaded = false; loading: boolean; diff --git a/apps/web/src/locales/en/messages.json b/apps/web/src/locales/en/messages.json index ff24551f89..be8b72efe4 100644 --- a/apps/web/src/locales/en/messages.json +++ b/apps/web/src/locales/en/messages.json @@ -7012,5 +7012,20 @@ }, "maxServiceAccountCost": { "message": "Max potential service account cost" + }, + "smBetaEndedDesc": { + "message": "The Secrets Manager Beta ended Aug 1, 2023. You have $DAYS$ days to upgrade the plan to Teams or Enterprise to maintain access to Secrets Manager data. Grace period ends October 1, 2023.", + "placeholders": { + "days": { + "content": "$1", + "example": "$0.50" + } + } + }, + "betaEnding": { + "message": "Beta Ending" + }, + "beta": { + "message": "Beta" } }