mirror of
https://github.com/bitwarden/browser
synced 2026-01-28 23:33:27 +00:00
* Remove price from next charge on individual subscription page
* Revert subscription-card changes, limit scope to legacy component
(cherry picked from commit 4fad2c3bcd)
This commit is contained in:
@@ -57,12 +57,8 @@
|
||||
<ng-container *ngIf="subscription">
|
||||
<ng-container *ngIf="enableDiscountDisplay$ | async as enableDiscount; else noDiscount">
|
||||
<div class="tw-flex tw-items-center tw-gap-2 tw-flex-wrap tw-justify-end">
|
||||
<span [attr.aria-label]="'nextChargeDateAndAmount' | i18n">
|
||||
{{
|
||||
(sub.subscription.periodEndDate | date: "MMM d, y") +
|
||||
", " +
|
||||
(discountedSubscriptionAmount | currency: "$")
|
||||
}}
|
||||
<span [attr.aria-label]="'nextChargeDate' | i18n">
|
||||
{{ sub.subscription.periodEndDate | date: "MMM d, y" }}
|
||||
</span>
|
||||
<billing-discount-badge
|
||||
[discount]="getDiscount(sub?.customerDiscount)"
|
||||
@@ -71,12 +67,8 @@
|
||||
</ng-container>
|
||||
<ng-template #noDiscount>
|
||||
<div class="tw-flex tw-items-center tw-gap-2 tw-flex-wrap tw-justify-end">
|
||||
<span [attr.aria-label]="'nextChargeDateAndAmount' | i18n">
|
||||
{{
|
||||
(sub.subscription.periodEndDate | date: "MMM d, y") +
|
||||
", " +
|
||||
(subscriptionAmount | currency: "$")
|
||||
}}
|
||||
<span [attr.aria-label]="'nextChargeDate' | i18n">
|
||||
{{ sub.subscription.periodEndDate | date: "MMM d, y" }}
|
||||
</span>
|
||||
</div>
|
||||
</ng-template>
|
||||
|
||||
@@ -3281,6 +3281,9 @@
|
||||
"nextChargeHeader": {
|
||||
"message": "Next Charge"
|
||||
},
|
||||
"nextChargeDate": {
|
||||
"message": "Next charge date"
|
||||
},
|
||||
"plan": {
|
||||
"message": "Plan"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user