diff options
author | Chocobozzz <me@florianbigard.com> | 2019-08-23 15:23:27 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2019-09-05 10:17:02 +0200 |
commit | ccc00cb2aac1360921b957f3ecb3be7eb55dfa1b (patch) | |
tree | 364e1beecb1db90af60f23bbb5219ff2f964cc0d /client/src/app/+about/about-instance/about-instance.component.html | |
parent | 2ba613a5438f993c3874376dd79be9d460ea81d1 (diff) | |
download | PeerTube-ccc00cb2aac1360921b957f3ecb3be7eb55dfa1b.tar.gz PeerTube-ccc00cb2aac1360921b957f3ecb3be7eb55dfa1b.tar.zst PeerTube-ccc00cb2aac1360921b957f3ecb3be7eb55dfa1b.zip |
Add more attributes to about page
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 | 53 |
1 files changed, 48 insertions, 5 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 7c27ec760..0fd3626b7 100644 --- a/client/src/app/+about/about-instance/about-instance.component.html +++ b/client/src/app/+about/about-instance/about-instance.component.html | |||
@@ -1,7 +1,8 @@ | |||
1 | <div class="row"> | 1 | <div class="row"> |
2 | <div class="col-md-12 col-xl-6"> | 2 | <div class="col-md-12 col-xl-6"> |
3 | |||
3 | <div class="about-instance-title"> | 4 | <div class="about-instance-title"> |
4 | <div i18n>About {{ instanceName }} instance</div> | 5 | <div i18n class="title">About {{ instanceName }} instance</div> |
5 | 6 | ||
6 | <div *ngIf="isContactFormEnabled" (click)="openContactModal()" i18n role="button" class="contact-admin">Contact administrator</div> | 7 | <div *ngIf="isContactFormEnabled" (click)="openContactModal()" i18n role="button" class="contact-admin">Contact administrator</div> |
7 | </div> | 8 | </div> |
@@ -12,16 +13,58 @@ | |||
12 | <div *ngIf="isNSFW" class="dedicated-to-nsfw">This instance is dedicated to sensitive/NSFW content.</div> | 13 | <div *ngIf="isNSFW" class="dedicated-to-nsfw">This instance is dedicated to sensitive/NSFW content.</div> |
13 | </div> | 14 | </div> |
14 | 15 | ||
15 | <div class="description"> | 16 | <div class="middle-title" *ngIf="html.administrator || maintenanceLifetime || businessModel"> |
17 | Administrators & sustainability | ||
18 | </div> | ||
19 | |||
20 | <div class="block administrator" *ngIf="html.administrator"> | ||
21 | <div i18n class="section-title">Instance administrators</div> | ||
22 | |||
23 | <div [innerHTML]="html.administrator"></div> | ||
24 | </div> | ||
25 | |||
26 | <div class="block maintenance-lifetime" *ngIf="maintenanceLifetime"> | ||
27 | <div i18n class="section-title">Maintenance lifetime</div> | ||
28 | |||
29 | <p>{{ maintenanceLifetime }}</p> | ||
30 | </div> | ||
31 | |||
32 | <div class="block business-model" *ngIf="businessModel"> | ||
33 | <div i18n class="section-title">Business model</div> | ||
34 | |||
35 | <p>{{ businessModel }}</p> | ||
36 | </div> | ||
37 | |||
38 | <div class="middle-title" *ngIf="html.description"> | ||
39 | Information | ||
40 | </div> | ||
41 | |||
42 | <div class="block description"> | ||
16 | <div i18n class="section-title">Description</div> | 43 | <div i18n class="section-title">Description</div> |
17 | 44 | ||
18 | <div [innerHTML]="descriptionHTML"></div> | 45 | <div [innerHTML]="html.description"></div> |
46 | </div> | ||
47 | |||
48 | <div class="middle-title" *ngIf="html.moderationInformation || html.codeOfConduct || html.terms"> | ||
49 | Moderation | ||
50 | </div> | ||
51 | |||
52 | <div class="block moderation-information" *ngIf="html.moderationInformation"> | ||
53 | <div i18n class="section-title">Moderation information</div> | ||
54 | |||
55 | <div [innerHTML]="html.moderationInformation"></div> | ||
56 | </div> | ||
57 | |||
58 | <div class="block code-of-conduct" *ngIf="html.codeOfConduct"> | ||
59 | <div i18n class="section-title">Code of conduct</div> | ||
60 | |||
61 | <div [innerHTML]="html.codeOfConduct"></div> | ||
19 | </div> | 62 | </div> |
20 | 63 | ||
21 | <div class="terms" id="terms-section"> | 64 | <div class="block terms" id="terms-section"> |
22 | <div i18n class="section-title">Terms</div> | 65 | <div i18n class="section-title">Terms</div> |
23 | 66 | ||
24 | <div [innerHTML]="termsHTML"></div> | 67 | <div [innerHTML]="html.terms"></div> |
25 | </div> | 68 | </div> |
26 | </div> | 69 | </div> |
27 | 70 | ||