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:
parent
f0d4e7eb24
commit
41a676db39
18 changed files with 180 additions and 82 deletions
|
@ -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>
|
Loading…
Add table
Add a link
Reference in a new issue