diff options
author | Caroline Chuong <caroline.chuong@octo.com> | 2020-06-13 00:53:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-13 00:53:56 +0200 |
commit | c9e3565dc8d0e5ce0dcbdb4fe8deb7a257d9e2a0 (patch) | |
tree | 2646dbf2602648e84102121da72629e313e61297 /client/src/app/+about/about-instance/about-instance.component.html | |
parent | 1a40132c67e50c94a7bd3f6b63c075f471b3d6cc (diff) | |
download | PeerTube-c9e3565dc8d0e5ce0dcbdb4fe8deb7a257d9e2a0.tar.gz PeerTube-c9e3565dc8d0e5ce0dcbdb4fe8deb7a257d9e2a0.tar.zst PeerTube-c9e3565dc8d0e5ce0dcbdb4fe8deb7a257d9e2a0.zip |
fix headings order or add missing ones (#2871)
Co-authored-by: Rigel Kent <sendmemail@rigelk.eu>
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 | 41 |
1 files changed, 21 insertions, 20 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 7ba2d9ac8..3bc63b7d1 100644 --- a/client/src/app/+about/about-instance/about-instance.component.html +++ b/client/src/app/+about/about-instance/about-instance.component.html | |||
@@ -2,9 +2,9 @@ | |||
2 | <div class="col-md-12 col-xl-6"> | 2 | <div class="col-md-12 col-xl-6"> |
3 | 3 | ||
4 | <div class="about-instance-title"> | 4 | <div class="about-instance-title"> |
5 | <div i18n class="title">About {{ instanceName }}</div> | 5 | <h1 i18n class="title">About {{ instanceName }}</h1> |
6 | 6 | ||
7 | <div i18n *ngIf="isContactFormEnabled" (click)="openContactModal()" role="button" class="contact-admin">Contact administrator</div> | 7 | <button i18n *ngIf="isContactFormEnabled" (click)="openContactModal()" (keydown.enter)="openContactModal()" class="contact-admin">Contact administrator</button> |
8 | </div> | 8 | </div> |
9 | 9 | ||
10 | <div class="block instance-badges"> | 10 | <div class="block instance-badges"> |
@@ -19,84 +19,85 @@ | |||
19 | <div i18n *ngIf="isNSFW" class="block dedicated-to-nsfw">This instance is dedicated to sensitive/NSFW content.</div> | 19 | <div i18n *ngIf="isNSFW" class="block dedicated-to-nsfw">This instance is dedicated to sensitive/NSFW content.</div> |
20 | </div> | 20 | </div> |
21 | 21 | ||
22 | <div i18n class="middle-title" *ngIf="html.administrator || maintenanceLifetime || businessModel"> | 22 | <h2 i18n class="middle-title" *ngIf="html.administrator || maintenanceLifetime || businessModel"> |
23 | ADMINISTRATORS & SUSTAINABILITY | 23 | ADMINISTRATORS & SUSTAINABILITY |
24 | </div> | 24 | </h2> |
25 | 25 | ||
26 | <div class="block administrator" *ngIf="html.administrator"> | 26 | <div class="block administrator" *ngIf="html.administrator"> |
27 | <div i18n class="section-title">Who we are</div> | 27 | <h3 i18n class="section-title">Who we are</h3> |
28 | 28 | ||
29 | <div [innerHTML]="html.administrator"></div> | 29 | <div [innerHTML]="html.administrator"></div> |
30 | </div> | 30 | </div> |
31 | 31 | ||
32 | <div class="block creation-reason" *ngIf="creationReason"> | 32 | <div class="block creation-reason" *ngIf="creationReason"> |
33 | <div i18n class="section-title">Why we created this instance</div> | 33 | <h3 i18n class="section-title">Why we created this instance</h3> |
34 | 34 | ||
35 | <p>{{ creationReason }}</p> | 35 | <p>{{ creationReason }}</p> |
36 | </div> | 36 | </div> |
37 | 37 | ||
38 | <div class="block maintenance-lifetime" *ngIf="maintenanceLifetime"> | 38 | <div class="block maintenance-lifetime" *ngIf="maintenanceLifetime"> |
39 | <div i18n class="section-title">How long we plan to maintain this instance</div> | 39 | <h3 i18n class="section-title">How long we plan to maintain this instance</h3> |
40 | 40 | ||
41 | <p>{{ maintenanceLifetime }}</p> | 41 | <p>{{ maintenanceLifetime }}</p> |
42 | </div> | 42 | </div> |
43 | 43 | ||
44 | <div class="block business-model" *ngIf="businessModel"> | 44 | <div class="block business-model" *ngIf="businessModel"> |
45 | <div i18n class="section-title">How we will pay for this instance</div> | 45 | <h3 i18n class="section-title">How we will pay for this instance</h3> |
46 | 46 | ||
47 | <p>{{ businessModel }}</p> | 47 | <p>{{ businessModel }}</p> |
48 | </div> | 48 | </div> |
49 | 49 | ||
50 | <div i18n class="middle-title" *ngIf="html.description"> | 50 | <h2 i18n class="middle-title" *ngIf="html.description"> |
51 | INFORMATION | 51 | INFORMATION |
52 | </div> | 52 | </h2> |
53 | 53 | ||
54 | <div class="block description"> | 54 | <div class="block description"> |
55 | <div i18n class="section-title">Description</div> | 55 | <h3 i18n class="section-title">Description</h3> |
56 | 56 | ||
57 | <div [innerHTML]="html.description"></div> | 57 | <div [innerHTML]="html.description"></div> |
58 | </div> | 58 | </div> |
59 | 59 | ||
60 | <div i18n class="middle-title" *ngIf="html.moderationInformation || html.codeOfConduct || html.terms"> | 60 | <h2 i18n class="middle-title" *ngIf="html.moderationInformation || html.codeOfConduct || html.terms"> |
61 | MODERATION | 61 | MODERATION |
62 | </div> | 62 | </h2> |
63 | 63 | ||
64 | <div class="block moderation-information" *ngIf="html.moderationInformation"> | 64 | <div class="block moderation-information" *ngIf="html.moderationInformation"> |
65 | <div i18n class="section-title">Moderation information</div> | 65 | <h3 i18n class="section-title">Moderation information</h3> |
66 | 66 | ||
67 | <div [innerHTML]="html.moderationInformation"></div> | 67 | <div [innerHTML]="html.moderationInformation"></div> |
68 | </div> | 68 | </div> |
69 | 69 | ||
70 | <div class="block code-of-conduct" *ngIf="html.codeOfConduct"> | 70 | <div class="block code-of-conduct" *ngIf="html.codeOfConduct"> |
71 | <div i18n class="section-title">Code of conduct</div> | 71 | <h3 i18n class="section-title">Code of conduct</h3> |
72 | 72 | ||
73 | <div [innerHTML]="html.codeOfConduct"></div> | 73 | <div [innerHTML]="html.codeOfConduct"></div> |
74 | </div> | 74 | </div> |
75 | 75 | ||
76 | <div class="block terms"> | 76 | <div class="block terms"> |
77 | <div i18n class="section-title">Terms</div> | 77 | <h3 i18n class="section-title">Terms</h3> |
78 | 78 | ||
79 | <div [innerHTML]="html.terms"></div> | 79 | <div [innerHTML]="html.terms"></div> |
80 | </div> | 80 | </div> |
81 | 81 | ||
82 | <div i18n class="middle-title" *ngIf="html.hardwareInformation"> | 82 | <h2 i18n class="middle-title" *ngIf="html.hardwareInformation"> |
83 | OTHER INFORMATION | 83 | OTHER INFORMATION |
84 | </div> | 84 | </h2> |
85 | 85 | ||
86 | <div class="block hardware-information" *ngIf="html.hardwareInformation"> | 86 | <div class="block hardware-information" *ngIf="html.hardwareInformation"> |
87 | <div i18n class="section-title">Hardware information</div> | 87 | <h3 i18n class="section-title">Hardware information</h3> |
88 | 88 | ||
89 | <div [innerHTML]="html.hardwareInformation"></div> | 89 | <div [innerHTML]="html.hardwareInformation"></div> |
90 | </div> | 90 | </div> |
91 | </div> | 91 | </div> |
92 | 92 | ||
93 | <div class="col-md-12 col-xl-6"> | 93 | <div class="col-md-12 col-xl-6"> |
94 | <h2 class="sr-only" i18n>FEATURES</h2> | ||
94 | <my-instance-features-table></my-instance-features-table> | 95 | <my-instance-features-table></my-instance-features-table> |
95 | </div> | 96 | </div> |
96 | 97 | ||
97 | <div class="col"> | 98 | <div class="col"> |
98 | <div class="anchor" id="statistics"></div> | 99 | <div class="anchor" id="statistics"></div> |
99 | <div i18n class="middle-title">STATISTICS</div> | 100 | <h2 i18n class="middle-title">STATISTICS</h2> |
100 | <my-instance-statistics></my-instance-statistics> | 101 | <my-instance-statistics></my-instance-statistics> |
101 | </div> | 102 | </div> |
102 | </div> | 103 | </div> |