aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+about/about-instance/about-instance.component.html
blob: fc5736aba4a5556d31022877d6c8a13a0c8a1fcb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
<div class="row">
  <div class="col-md-12 col-xl-6">

    <div class="about-instance-title">
      <div i18n class="title">About {{ instanceName }}</div>

      <div i18n *ngIf="isContactFormEnabled" (click)="openContactModal()" role="button" class="contact-admin">Contact administrator</div>
    </div>

    <div class="block instance-badges">
      <span *ngFor="let category of categories" class="badge badge-primary category">{{ category }}</span>

      <span *ngFor="let language of languages" class="badge badge-secondary language">{{ language }}</span>
    </div>

    <div class="short-description">
      <div class="block short-description">{{ shortDescription }}</div>

      <div i18n *ngIf="isNSFW" class="block dedicated-to-nsfw">This instance is dedicated to sensitive/NSFW content.</div>
    </div>

    <div i18n class="middle-title" *ngIf="html.administrator || maintenanceLifetime || businessModel">
      Administrators & sustainability
    </div>

    <div class="block administrator" *ngIf="html.administrator">
      <div i18n class="section-title">Who we are</div>

      <div [innerHTML]="html.administrator"></div>
    </div>

    <div class="block creation-reason" *ngIf="creationReason">
      <div i18n class="section-title">Why we created this instance</div>

      <p>{{ creationReason }}</p>
    </div>

    <div class="block maintenance-lifetime" *ngIf="maintenanceLifetime">
      <div i18n class="section-title">How long we plan to maintain this instance</div>

      <p>{{ maintenanceLifetime }}</p>
    </div>

    <div class="block business-model" *ngIf="businessModel">
      <div i18n class="section-title">How we will pay for this instance</div>

      <p>{{ businessModel }}</p>
    </div>

    <div i18n class="middle-title" *ngIf="html.description">
      Information
    </div>

    <div class="block description">
      <div i18n class="section-title">Description</div>

      <div [innerHTML]="html.description"></div>
    </div>

    <div i18n class="middle-title" *ngIf="html.moderationInformation || html.codeOfConduct || html.terms">
      Moderation
    </div>

    <div class="block moderation-information" *ngIf="html.moderationInformation">
      <div i18n class="section-title">Moderation information</div>

      <div [innerHTML]="html.moderationInformation"></div>
    </div>

    <div class="block code-of-conduct" *ngIf="html.codeOfConduct">
      <div i18n class="section-title">Code of conduct</div>

      <div [innerHTML]="html.codeOfConduct"></div>
    </div>

    <div class="block terms">
      <div i18n class="section-title">Terms</div>

      <div [innerHTML]="html.terms"></div>
    </div>

    <div i18n class="middle-title" *ngIf="html.hardwareInformation">
      Other information
    </div>

    <div class="block hardware-information" *ngIf="html.hardwareInformation">
      <div i18n class="section-title">Hardware information</div>

      <div [innerHTML]="html.hardwareInformation"></div>
    </div>
  </div>

  <div class="col-md-12 col-xl-6">
    <label i18n>Features found on this instance</label>
    <my-instance-features-table></my-instance-features-table>
  </div>

  <div class="col">
    <div i18n class="middle-title">
      Statistics
    </div>
    <my-instance-statistics></my-instance-statistics>
  </div>
</div>

<my-contact-admin-modal #contactAdminModal></my-contact-admin-modal>