1
0
mirror of https://github.com/bitwarden/browser synced 2026-01-05 10:03:21 +00:00

Add copy to subscription page indicating free Password Manager for a year (#8010)

* Initial commit

* refactoring the code

* resolve pr comment
This commit is contained in:
cyprain-okeke
2024-02-22 20:52:05 +01:00
committed by GitHub
parent e894ecda25
commit 7a9a9a0c22
3 changed files with 19 additions and 1 deletions

View File

@@ -76,7 +76,17 @@
{{ i.amount | currency: "$" }}
</td>
<td bitCell class="tw-text-right">
{{ i.quantity * i.amount | currency: "$" }} /{{ i.interval | i18n }}
<ng-container
*ngIf="
sub?.customerDiscount?.appliesTo?.includes(i.productId);
else calculateElse
"
>
{{ "freeForOneYear" | i18n }}
</ng-container>
<ng-template #calculateElse>
{{ i.quantity * i.amount | currency: "$" }} /{{ i.interval | i18n }}
</ng-template>
</td>
</tr>
</ng-container>