aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+about/about-instance/about-instance.component.html
blob: 8c700752e8ca35c4c01be0309d42f10039f955cf (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
<div class="row">
  <div class="col-md-12 col-xl-6">
    <div class="about-instance-title">
      <div i18n>About {{ instanceName }} instance</div>

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

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

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

      <div [innerHTML]="descriptionHTML"></div>
    </div>

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

      <div [innerHTML]="termsHTML"></div>
    </div>

    <div class="signup">
      <div i18n class="section-title">Signup</div>

      <div *ngIf="isSignupAllowed">
        <ng-container i18n>User registration is allowed and</ng-container>

        <ng-container i18n *ngIf="userVideoQuota !== -1">
          this instance provides a baseline quota of {{ userVideoQuota | bytes: 0 }} space for the videos of its users.
        </ng-container>

        <ng-container i18n *ngIf="userVideoQuota === -1">
          this instance provides unlimited space for the videos of its users.
        </ng-container>
      </div>

      <div i18n *ngIf="isSignupAllowed === false">
        User registration is currently not allowed.
      </div>
    </div>
  </div>

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

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