aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+about
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-02-21 15:00:26 +0100
committerChocobozzz <me@florianbigard.com>2019-02-21 15:00:26 +0100
commitc0e04e46417c7819f024e45896240d4b7331be86 (patch)
tree2941f566ea65a201314596dbaf2d737b84d76b0e /client/src/app/+about
parent9b39106d5757caf221a88e42e05167a6fac479c6 (diff)
downloadPeerTube-c0e04e46417c7819f024e45896240d4b7331be86.tar.gz
PeerTube-c0e04e46417c7819f024e45896240d4b7331be86.tar.zst
PeerTube-c0e04e46417c7819f024e45896240d4b7331be86.zip
Move user registration info in features table
Diffstat (limited to 'client/src/app/+about')
-rw-r--r--client/src/app/+about/about-instance/about-instance.component.html20
-rw-r--r--client/src/app/+about/about-instance/about-instance.component.ts8
2 files changed, 0 insertions, 28 deletions
diff --git a/client/src/app/+about/about-instance/about-instance.component.html b/client/src/app/+about/about-instance/about-instance.component.html
index 8c700752e..83376b6f6 100644
--- a/client/src/app/+about/about-instance/about-instance.component.html
+++ b/client/src/app/+about/about-instance/about-instance.component.html
@@ -21,26 +21,6 @@
21 21
22 <div [innerHTML]="termsHTML"></div> 22 <div [innerHTML]="termsHTML"></div>
23 </div> 23 </div>
24
25 <div class="signup">
26 <div i18n class="section-title">Signup</div>
27
28 <div *ngIf="isSignupAllowed">
29 <ng-container i18n>User registration is allowed and</ng-container>
30
31 <ng-container i18n *ngIf="userVideoQuota !== -1">
32 this instance provides a baseline quota of {{ userVideoQuota | bytes: 0 }} space for the videos of its users.
33 </ng-container>
34
35 <ng-container i18n *ngIf="userVideoQuota === -1">
36 this instance provides unlimited space for the videos of its users.
37 </ng-container>
38 </div>
39
40 <div i18n *ngIf="isSignupAllowed === false">
41 User registration is currently not allowed.
42 </div>
43 </div>
44 </div> 24 </div>
45 25
46 <div class="col-md-12 col-xl-6"> 26 <div class="col-md-12 col-xl-6">
diff --git a/client/src/app/+about/about-instance/about-instance.component.ts b/client/src/app/+about/about-instance/about-instance.component.ts
index ec572ff80..c9eab44ab 100644
--- a/client/src/app/+about/about-instance/about-instance.component.ts
+++ b/client/src/app/+about/about-instance/about-instance.component.ts
@@ -29,14 +29,6 @@ export class AboutInstanceComponent implements OnInit {
29 return this.serverService.getConfig().instance.name 29 return this.serverService.getConfig().instance.name
30 } 30 }
31 31
32 get userVideoQuota () {
33 return this.serverService.getConfig().user.videoQuota
34 }
35
36 get isSignupAllowed () {
37 return this.serverService.getConfig().signup.allowed
38 }
39
40 get isContactFormEnabled () { 32 get isContactFormEnabled () {
41 return this.serverService.getConfig().email.enabled && this.serverService.getConfig().contactForm.enabled 33 return this.serverService.getConfig().email.enabled && this.serverService.getConfig().contactForm.enabled
42 } 34 }