]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - client/src/app/shared/shared-instance/instance-about-accordion.component.html
Plugins can add custom instance infobox
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / shared-instance / instance-about-accordion.component.html
1 <h2 class="instance-name">{{ about?.instance.name }}</h2>
2
3 <div class="instance-short-description">{{ about?.instance.shortDescription }}</div>
4
5 <ngb-accordion #accordion="ngbAccordion" [closeOthers]="true">
6 <ngb-panel *ngIf="panels.features" id="instance-features" i18n-title title="Features found on this instance">
7 <ng-template ngbPanelContent>
8 <my-instance-features-table></my-instance-features-table>
9 </ng-template>
10 </ngb-panel>
11
12 <ng-container *ngIf="about">
13 <ngb-panel
14 *ngIf="getAdministratorsPanel()"
15 id="admin-sustainability" i18n-title title="Administrators & Sustainability"
16 >
17 <ng-template ngbPanelContent>
18 <div class="block">
19 <strong i18n>Who are we?</strong>
20 <div [innerHTML]="aboutHtml.administrator"></div>
21 </div>
22
23 <div class="block">
24 <strong i18n>How long do we plan to maintain this instance?</strong>
25 <div [innerHTML]="about.instance.maintenanceLifetime"></div>
26 </div>
27
28 <div class="block">
29 <strong i18n>How will we finance this instance?</strong>
30 <div [innerHTML]="about.instance.businessModel"></div>
31 </div>
32 </ng-template>
33 </ngb-panel>
34
35 <ngb-panel *ngIf="termsPanel" id="terms" i18n-title title="Terms">
36 <ng-template ngbPanelContent>
37 <div class="block" [innerHTML]="aboutHtml.terms"></div>
38 </ng-template>
39 </ngb-panel>
40
41 <ngb-panel *ngIf="moderationPanel" id="moderation-information" i18n-title title="Moderation information">
42 <ng-template ngbPanelContent>
43 <div class="block" [innerHTML]="aboutHtml.moderationInformation"></div>
44 </ng-template>
45 </ngb-panel>
46
47 <ngb-panel *ngIf="codeOfConductPanel" id="code-of-conduct" i18n-title title="Code of conduct">
48 <ng-template ngbPanelContent>
49 <div class="block" [innerHTML]="aboutHtml.codeOfConduct"></div>
50 </ng-template>
51 </ngb-panel>
52
53 <ngb-panel *ngFor="let pluginPanel of pluginPanels" [id]="pluginPanel.id" [title]="pluginPanel.title">
54 <ng-template ngbPanelContent>
55 <div class="block" [innerHTML]="pluginPanel.html"></div>
56 </ng-template>
57 </ngb-panel>
58 </ng-container>
59 </ngb-accordion>