diff options
author | Chocobozzz <me@florianbigard.com> | 2018-03-28 17:05:46 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-03-28 17:05:46 +0200 |
commit | 5afdd0a52f2f1fa79ed9bf241b5a525366658fa1 (patch) | |
tree | 58bc17102b26893530ca64e757c2389361a36473 /client/src/app/signup/signup.component.html | |
parent | e33e7fc89e4f0e2fbd1d7e87a4e2a2d5aae94f29 (diff) | |
download | PeerTube-5afdd0a52f2f1fa79ed9bf241b5a525366658fa1.tar.gz PeerTube-5afdd0a52f2f1fa79ed9bf241b5a525366658fa1.tar.zst PeerTube-5afdd0a52f2f1fa79ed9bf241b5a525366658fa1.zip |
Add initial video quota info in registration form
Diffstat (limited to 'client/src/app/signup/signup.component.html')
-rw-r--r-- | client/src/app/signup/signup.component.html | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/client/src/app/signup/signup.component.html b/client/src/app/signup/signup.component.html index f95897ea4..5f48786e5 100644 --- a/client/src/app/signup/signup.component.html +++ b/client/src/app/signup/signup.component.html | |||
@@ -4,6 +4,20 @@ | |||
4 | Create an account | 4 | Create an account |
5 | </div> | 5 | </div> |
6 | 6 | ||
7 | <div class="initial-user-quota"> | ||
8 | <span class="initial-user-quota-label">Initial video quota:</span> | ||
9 | |||
10 | <span *ngIf="initialUserVideoQuota !== -1"> | ||
11 | {{ initialUserVideoQuota | bytes: 0 }} | ||
12 | |||
13 | <my-help helpType="custom" [customHtml]="quotaHelpIndication"></my-help> | ||
14 | </span> | ||
15 | |||
16 | <ng-template [ngIf]="initialUserVideoQuota === -1"> | ||
17 | Unlimited | ||
18 | </ng-template> | ||
19 | </div> | ||
20 | |||
7 | <div *ngIf="error" class="alert alert-danger">{{ error }}</div> | 21 | <div *ngIf="error" class="alert alert-danger">{{ error }}</div> |
8 | 22 | ||
9 | <form role="form" (ngSubmit)="signup()" [formGroup]="form"> | 23 | <form role="form" (ngSubmit)="signup()" [formGroup]="form"> |