diff options
author | Chocobozzz <me@florianbigard.com> | 2018-03-27 15:46:36 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-03-27 15:46:36 +0200 |
commit | be1fc4bc50811df522cbfef299da6a7540589f65 (patch) | |
tree | 3e49a94b641e623bd23e71e8621c9c949bec2eca /client/src/app/about/about.component.html | |
parent | fc62e39c0b5d20b19916b2880a0f9a110fcc02e5 (diff) | |
download | PeerTube-be1fc4bc50811df522cbfef299da6a7540589f65.tar.gz PeerTube-be1fc4bc50811df522cbfef299da6a7540589f65.tar.zst PeerTube-be1fc4bc50811df522cbfef299da6a7540589f65.zip |
Fix custom server configuration numbers
Diffstat (limited to 'client/src/app/about/about.component.html')
-rw-r--r-- | client/src/app/about/about.component.html | 24 |
1 files changed, 18 insertions, 6 deletions
diff --git a/client/src/app/about/about.component.html b/client/src/app/about/about.component.html index bcb4ed2be..bad90d161 100644 --- a/client/src/app/about/about.component.html +++ b/client/src/app/about/about.component.html | |||
@@ -13,14 +13,26 @@ | |||
13 | <div class="section-title">Terms</div> | 13 | <div class="section-title">Terms</div> |
14 | 14 | ||
15 | <div [innerHTML]="termsHTML"></div> | 15 | <div [innerHTML]="termsHTML"></div> |
16 | </div> | ||
17 | |||
18 | <div class="signup"> | ||
19 | <div class="section-title">Signup</div> | ||
20 | |||
21 | <div *ngIf="isSignupAllowed"> | ||
22 | User registration is allowed and | ||
23 | |||
24 | <ng-template [ngIf]="userVideoQuota !== -1"> | ||
25 | this instance provides a baseline quota of {{ userVideoQuota | bytes }} space for the videos of its users. | ||
26 | </ng-template> | ||
27 | |||
28 | <ng-template [ngIf]="userVideoQuota === -1"> | ||
29 | this instance provides unlimited space for the videos of its users. | ||
30 | </ng-template> | ||
31 | </div> | ||
16 | 32 | ||
17 | <div *ngIf="userVideoQuota !== -1;else noQuota"> | 33 | <div *ngIf="isSignupAllowed === false"> |
18 | This instance provides a baseline quota of {{ userVideoQuota | bytes: 0 }} space for the videos of its users. | 34 | User registration is currently not allowed. |
19 | </div> | 35 | </div> |
20 | |||
21 | <ng-template #noQuota> | ||
22 | This instance provides unlimited space for the videos of its users. | ||
23 | </ng-template> | ||
24 | </div> | 36 | </div> |
25 | 37 | ||
26 | <div id="p2p-privacy"> | 38 | <div id="p2p-privacy"> |