aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src
diff options
context:
space:
mode:
Diffstat (limited to 'client/src')
-rw-r--r--client/src/app/+about/about-instance/about-instance.component.html63
-rw-r--r--client/src/app/signup/signup.component.html2
2 files changed, 37 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 5970cac01..37ff795f5 100644
--- a/client/src/app/+about/about-instance/about-instance.component.html
+++ b/client/src/app/+about/about-instance/about-instance.component.html
@@ -1,39 +1,48 @@
1<div i18n class="about-instance-title"> 1<div class="row">
2 About {{ instanceName }} instance 2 <div class="col-md-12 col-xl-6">
3</div> 3 <div i18n class="about-instance-title">
4 About {{ instanceName }} instance
5 </div>
4 6
5<div class="short-description"> 7 <div class="short-description">
6 <div>{{ shortDescription }}</div> 8 <div>{{ shortDescription }}</div>
7</div> 9 </div>
8 10
9<div class="description"> 11 <div class="description">
10 <div i18n class="section-title">Description</div> 12 <div i18n class="section-title">Description</div>
11 13
12 <div [innerHTML]="descriptionHTML"></div> 14 <div [innerHTML]="descriptionHTML"></div>
13</div> 15 </div>
14 16
15<div class="terms" id="terms-section"> 17 <div class="terms" id="terms-section">
16 <div i18n class="section-title">Terms</div> 18 <div i18n class="section-title">Terms</div>
17 19
18 <div [innerHTML]="termsHTML"></div> 20 <div [innerHTML]="termsHTML"></div>
19</div> 21 </div>
22
23 <div class="signup">
24 <div i18n class="section-title">Signup</div>
20 25
21<div class="signup"> 26 <div *ngIf="isSignupAllowed">
22 <div i18n class="section-title">Signup</div> 27 <ng-container i18n>User registration is allowed and</ng-container>
23 28
24 <div *ngIf="isSignupAllowed"> 29 <ng-container i18n *ngIf="userVideoQuota !== -1">
25 <ng-container i18n>User registration is allowed and</ng-container> 30 this instance provides a baseline quota of {{ userVideoQuota | bytes: 0 }} space for the videos of its users.
31 </ng-container>
26 32
27 <ng-container i18n *ngIf="userVideoQuota !== -1"> 33 <ng-container i18n *ngIf="userVideoQuota === -1">
28 this instance provides a baseline quota of {{ userVideoQuota | bytes: 0 }} space for the videos of its users. 34 this instance provides unlimited space for the videos of its users.
29 </ng-container> 35 </ng-container>
36 </div>
30 37
31 <ng-container i18n *ngIf="userVideoQuota === -1"> 38 <div i18n *ngIf="isSignupAllowed === false">
32 this instance provides unlimited space for the videos of its users. 39 User registration is currently not allowed.
33 </ng-container> 40 </div>
41 </div>
34 </div> 42 </div>
35 43
36 <div i18n *ngIf="isSignupAllowed === false"> 44 <div class="col-md-12 col-xl-6">
37 User registration is currently not allowed. 45 <label>Features found on this instance</label>
46 <my-instance-features-table></my-instance-features-table>
38 </div> 47 </div>
39</div> \ No newline at end of file 48</div>
diff --git a/client/src/app/signup/signup.component.html b/client/src/app/signup/signup.component.html
index 0207a166e..07d24b381 100644
--- a/client/src/app/signup/signup.component.html
+++ b/client/src/app/signup/signup.component.html
@@ -64,7 +64,7 @@
64 </form> 64 </form>
65 65
66 <div> 66 <div>
67 <label for="email" i18n>Features found on this instance</label> 67 <label i18n>Features found on this instance</label>
68 <my-instance-features-table></my-instance-features-table> 68 <my-instance-features-table></my-instance-features-table>
69 </div> 69 </div>
70 </div> 70 </div>