mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-29 12:55:21 +01:00
add SM beta callout to org subscription page
This commit is contained in:
parent
766c89d6e8
commit
427b19a417
@ -92,8 +92,23 @@
|
|||||||
<td bitCell class="tw-text-right">{{ "free" | i18n }}</td>
|
<td bitCell class="tw-text-right">{{ "free" | i18n }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
|
<tr bitRow *ngIf="userOrg.secretsManagerBeta">
|
||||||
|
<td bitCell>
|
||||||
|
{{ "secretsManager" | i18n }} -
|
||||||
|
{{ "beta" | i18n }}
|
||||||
|
({{ "annually" | i18n }}) @
|
||||||
|
{{ 0 | currency : "$" }}
|
||||||
|
<span bitBadge badgeType="warning" class="tw-ml-2">{{
|
||||||
|
"betaEnding" | i18n | uppercase
|
||||||
|
}}</span>
|
||||||
|
</td>
|
||||||
|
<td bitCell class="tw-text-right">{{ 0 | currency : "$" }} /{{ "year" | i18n }}</td>
|
||||||
|
</tr>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
</bit-table>
|
</bit-table>
|
||||||
|
<bit-callout *ngIf="userOrg.secretsManagerBeta" type="warning" class="tw-mt-4 tw-block">
|
||||||
|
{{ "smBetaEndedDesc" | i18n : secretsManagerBetaDaysRemaining }}
|
||||||
|
</bit-callout>
|
||||||
</div>
|
</div>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
|
|
||||||
|
@ -17,6 +17,7 @@ import { ConfigServiceAbstraction } from "@bitwarden/common/platform/abstraction
|
|||||||
import { I18nService } from "@bitwarden/common/platform/abstractions/i18n.service";
|
import { I18nService } from "@bitwarden/common/platform/abstractions/i18n.service";
|
||||||
import { LogService } from "@bitwarden/common/platform/abstractions/log.service";
|
import { LogService } from "@bitwarden/common/platform/abstractions/log.service";
|
||||||
import { PlatformUtilsService } from "@bitwarden/common/platform/abstractions/platform-utils.service";
|
import { PlatformUtilsService } from "@bitwarden/common/platform/abstractions/platform-utils.service";
|
||||||
|
import { Utils } from "@bitwarden/common/platform/misc/utils";
|
||||||
|
|
||||||
import {
|
import {
|
||||||
BillingSyncApiKeyComponent,
|
BillingSyncApiKeyComponent,
|
||||||
@ -41,6 +42,7 @@ export class OrganizationSubscriptionCloudComponent implements OnInit, OnDestroy
|
|||||||
showAdjustSecretsManager = false;
|
showAdjustSecretsManager = false;
|
||||||
|
|
||||||
showSecretsManagerSubscribe = false;
|
showSecretsManagerSubscribe = false;
|
||||||
|
secretsManagerBetaDaysRemaining = Utils.daysRemaining(new Date(2023, 9, 1));
|
||||||
|
|
||||||
firstLoaded = false;
|
firstLoaded = false;
|
||||||
loading: boolean;
|
loading: boolean;
|
||||||
|
@ -7012,5 +7012,20 @@
|
|||||||
},
|
},
|
||||||
"maxServiceAccountCost": {
|
"maxServiceAccountCost": {
|
||||||
"message": "Max potential service account cost"
|
"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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user