aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+about/about-instance/about-instance.component.html
blob: 37ff795f5a061660e82f601817cda7f4f2e605e7 (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
<div class="row">
  <div class="col-md-12 col-xl-6">
    <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" 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>