1
0
mirror of https://github.com/bitwarden/web synced 2026-01-10 04:23:28 +00:00

download license for org

This commit is contained in:
Kyle Spearrin
2018-07-17 11:25:41 -04:00
parent 6fcda290c7
commit e4f12ed47f
4 changed files with 22 additions and 4 deletions

View File

@@ -79,8 +79,10 @@
<button type="button" class="btn btn-outline-secondary" (click)="changePlan()">
{{'changeBillingPlan' | i18n}}
</button>
<button type="button" class="btn btn-outline-secondary ml-1" (click)="downloadLicense()" *ngIf="subscription && !subscription.cancelled">
{{'downloadLicense' | i18n}}
<button type="button" class="btn btn-outline-secondary btn-submit ml-1" #licenseBtn [appApiAction]="licensePromise" [disabled]="licenseBtn.loading"
(click)="downloadLicense()" *ngIf="subscription && !subscription.cancelled">
<i class="fa fa-spinner fa-spin"></i>
<span>{{'downloadLicense' | i18n}}</span>
</button>
<button #cancelBtn type="button" class="btn btn-outline-danger btn-submit ml-auto" (click)="cancel()" [appApiAction]="cancelPromise"
[disabled]="cancelBtn.loading" *ngIf="subscription && !subscription.cancelled && !subscriptionMarkedForCancel">