Move user registration info in features table
[oweals/peertube.git] / client / src / app / shared / instance / instance-features-table.component.html
1 <div class="feature-table">
2
3   <table class="table">
4     <tr *ngFor="let feature of features">
5       <td class="label">{{ feature.label }}</td>
6       <td>
7         <span *ngIf="feature.value === true" class="glyphicon glyphicon-ok"></span>
8         <span *ngIf="feature.value === false" class="glyphicon glyphicon-remove"></span>
9       </td>
10     </tr>
11
12     <tr>
13       <td i18n class="label">Video quota</td>
14
15       <td class="value">
16         <ng-container *ngIf="initialUserVideoQuota !== -1">
17           {{ initialUserVideoQuota | bytes: 0 }} <ng-container *ngIf="dailyUserVideoQuota !== -1">({{ dailyUserVideoQuota | bytes: 0 }} per day)</ng-container>
18
19           <my-help helpType="custom" [customHtml]="quotaHelpIndication"></my-help>
20         </ng-container>
21
22         <ng-container i18n *ngIf="initialUserVideoQuota === -1">
23           Unlimited <ng-container *ngIf="dailyUserVideoQuota !== -1">({{ dailyUserVideoQuota | bytes: 0 }} per day)</ng-container>
24         </ng-container>
25       </td>
26     </tr>
27   </table>
28 </div>