diff options
author | Chocobozzz <me@florianbigard.com> | 2019-02-11 11:52:34 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-02-11 11:52:34 +0100 |
commit | 88108880bbdba473cfe36ecbebc1c3c4f972e102 (patch) | |
tree | b242efb3b4f0d7e49d88f2d1f2063b5b3b0489c0 /client/src/app/+about/about-instance/about-instance.component.html | |
parent | 53a94c7cfa8368da4cd248d65df8346905938f0c (diff) | |
parent | 9b712a2017e4ab3cf12cd6bd58278905520159d0 (diff) | |
download | PeerTube-88108880bbdba473cfe36ecbebc1c3c4f972e102.tar.gz PeerTube-88108880bbdba473cfe36ecbebc1c3c4f972e102.tar.zst PeerTube-88108880bbdba473cfe36ecbebc1c3c4f972e102.zip |
Merge branch 'develop' into pr/1217
Diffstat (limited to 'client/src/app/+about/about-instance/about-instance.component.html')
-rw-r--r-- | client/src/app/+about/about-instance/about-instance.component.html | 67 |
1 files changed, 40 insertions, 27 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..8c700752e 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,52 @@ | |||
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 class="about-instance-title"> |
4 | <div i18n>About {{ instanceName }} instance</div> | ||
4 | 5 | ||
5 | <div class="short-description"> | 6 | <div *ngIf="isContactFormEnabled" (click)="openContactModal()" i18n role="button" class="contact-admin">Contact administrator</div> |
6 | <div>{{ shortDescription }}</div> | 7 | </div> |
7 | </div> | ||
8 | 8 | ||
9 | <div class="description"> | 9 | <div class="short-description"> |
10 | <div i18n class="section-title">Description</div> | 10 | <div>{{ shortDescription }}</div> |
11 | </div> | ||
11 | 12 | ||
12 | <div [innerHTML]="descriptionHTML"></div> | 13 | <div class="description"> |
13 | </div> | 14 | <div i18n class="section-title">Description</div> |
14 | 15 | ||
15 | <div class="terms" id="terms-section"> | 16 | <div [innerHTML]="descriptionHTML"></div> |
16 | <div i18n class="section-title">Terms</div> | 17 | </div> |
17 | 18 | ||
18 | <div [innerHTML]="termsHTML"></div> | 19 | <div class="terms" id="terms-section"> |
19 | </div> | 20 | <div i18n class="section-title">Terms</div> |
20 | 21 | ||
21 | <div class="signup"> | 22 | <div [innerHTML]="termsHTML"></div> |
22 | <div i18n class="section-title">Signup</div> | 23 | </div> |
23 | 24 | ||
24 | <div *ngIf="isSignupAllowed"> | 25 | <div class="signup"> |
25 | <ng-container i18n>User registration is allowed and</ng-container> | 26 | <div i18n class="section-title">Signup</div> |
26 | 27 | ||
27 | <ng-container i18n *ngIf="userVideoQuota !== -1"> | 28 | <div *ngIf="isSignupAllowed"> |
28 | this instance provides a baseline quota of {{ userVideoQuota | bytes: 0 }} space for the videos of its users. | 29 | <ng-container i18n>User registration is allowed and</ng-container> |
29 | </ng-container> | ||
30 | 30 | ||
31 | <ng-container i18n *ngIf="userVideoQuota === -1"> | 31 | <ng-container i18n *ngIf="userVideoQuota !== -1"> |
32 | this instance provides unlimited space for the videos of its users. | 32 | this instance provides a baseline quota of {{ userVideoQuota | bytes: 0 }} space for the videos of its users. |
33 | </ng-container> | 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> | ||
34 | </div> | 44 | </div> |
35 | 45 | ||
36 | <div i18n *ngIf="isSignupAllowed === false"> | 46 | <div class="col-md-12 col-xl-6"> |
37 | User registration is currently not allowed. | 47 | <label>Features found on this instance</label> |
48 | <my-instance-features-table></my-instance-features-table> | ||
38 | </div> | 49 | </div> |
39 | </div> \ No newline at end of file | 50 | </div> |
51 | |||
52 | <my-contact-admin-modal #contactAdminModal></my-contact-admin-modal> | ||