1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-05 10:49:28 +02:00

Add features table on signup

This commit is contained in:
Chocobozzz 2018-08-28 17:39:29 +02:00
parent f0d4e7eb24
commit 41a676db39
No known key found for this signature in database
GPG key ID: 583A612D890159BE
18 changed files with 180 additions and 82 deletions

View file

@ -0,0 +1,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>