aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/instance/instance-features-table.component.html
blob: ba170f0743708b3bce01699c308ae7f60eb620c6 (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
<div class="feature-table">

  <table class="table">
    <tr>
      <td i18n class="label">Video quota</td>

      <td class="value">
        <ng-container *ngIf="initialUserVideoQuota !== -1">
          {{ initialUserVideoQuota | bytes: 0 }}

          <my-help helpType="custom" [customHtml]="quotaHelpIndication"></my-help>
        </ng-container>

        <ng-container i18n *ngIf="initialUserVideoQuota === -1">
          Unlimited
        </ng-container>
      </td>
    </tr>

    <tr *ngFor="let feature of features">
      <td class="label">{{ feature.label }}</td>
      <td>
        <span *ngIf="feature.value === true" class="glyphicon glyphicon-ok"></span>
        <span *ngIf="feature.value === false" class="glyphicon glyphicon-remove"></span>
      </td>
    </tr>
  </table>
</div>