1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-11 22:13:32 +00:00

Changes to gide the select plan

This commit is contained in:
Cy Okeke
2024-12-20 18:20:32 +01:00
parent 663d0ec92b
commit 926d7d807d

View File

@@ -6,7 +6,11 @@
<div bitDialogContent>
<p>{{ "upgradePlans" | i18n }}</p>
<div class="tw-mb-3 tw-flex tw-justify-between">
<span class="tw-text-lg tw-pr-1 tw-font-bold">{{ "selectAPlan" | i18n }}</span>
<span
[style.visibility]="isSubscriptionCanceled ? 'hidden' : 'visible'"
class="tw-text-lg tw-pr-1 tw-font-bold"
>{{ "selectAPlan" | i18n }}</span
>
<!-- Discount Badge -->
<div class="tw-flex tw-items-center tw-gap-2">
<span
@@ -69,7 +73,10 @@
>
<div class="tw-relative">
<div
*ngIf="selectableProduct.productTier === productTypes.Enterprise"
*ngIf="
selectableProduct.productTier === productTypes.Enterprise &&
!isSubscriptionCanceled
"
class="tw-bg-secondary-100 tw-text-center !tw-border-0 tw-text-sm tw-font-bold tw-py-1"
[ngClass]="{
'tw-bg-primary-700 !tw-text-contrast': selectableProduct === selectedPlan,