1
0
mirror of https://github.com/bitwarden/browser synced 2024-12-25 17:32:46 +01:00

Display sponsored status for sponsored org subscription (#1312)

* Display sponsored status for sponsored org subscription

* Linter fixes
This commit is contained in:
Matt Gibson 2021-11-24 08:33:34 -06:00 committed by GitHub
parent 346052922e
commit f8c943c042
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 6 additions and 6 deletions

View File

@ -32,7 +32,7 @@
<ng-container *ngIf="subscription"> <ng-container *ngIf="subscription">
<dt>{{'status' | i18n}}</dt> <dt>{{'status' | i18n}}</dt>
<dd> <dd>
<span class="text-capitalize">{{subscription.status || '-'}}</span> <span class="text-capitalize">{{isSponsoredSubscription ? 'sponsored' : subscription.status || '-'}}</span>
<span class="badge badge-warning" <span class="badge badge-warning"
*ngIf="subscriptionMarkedForCancel">{{'pendingCancellation' | *ngIf="subscriptionMarkedForCancel">{{'pendingCancellation' |
i18n}}</span> i18n}}</span>