aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+about/about-instance/about-instance.component.html
blob: e433b0016b7c13ff4a7725f06a02c152c54a0ca2 (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
<div i18n class="about-instance-title">
  About {{ instanceName }} instance
</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">
  <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>