mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 10:49:28 +02:00
Improve features table
This commit is contained in:
parent
ccc00cb2aa
commit
a00045a218
7 changed files with 106 additions and 48 deletions
|
@ -1,22 +1,43 @@
|
|||
<div class="feature-table">
|
||||
|
||||
<table class="table">
|
||||
<table class="table" *ngIf="config">
|
||||
<tr>
|
||||
<td i18n class="label">Default NSFW/sensitive videos policy (can be redefined by the users)</td>
|
||||
<td i18n class="label">
|
||||
<div>Default NSFW/sensitive videos policy</div>
|
||||
<div class="more-info">can be redefined by the users</div>
|
||||
</td>
|
||||
|
||||
<td class="value">{{ buildNSFWLabel() }}</td>
|
||||
</tr>
|
||||
|
||||
<tr *ngFor="let feature of features">
|
||||
<td class="label">{{ feature.label }}</td>
|
||||
<tr>
|
||||
<td i18n class="label">User registration allowed</td>
|
||||
<td>
|
||||
<span *ngIf="feature.value === true" class="glyphicon glyphicon-ok"></span>
|
||||
<span *ngIf="feature.value === false" class="glyphicon glyphicon-remove"></span>
|
||||
<my-feature-boolean [value]="config.signup.allowed"></my-feature-boolean>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td i18n class="label">Video quota</td>
|
||||
<td i18n class="label" colspan="2">Video uploads</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td i18n class="sub-label">Transcoding in multiple resolutions</td>
|
||||
<td>
|
||||
<my-feature-boolean [value]="config.transcoding.enabledResolutions.length !== 0"></my-feature-boolean>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td i18n class="sub-label">Video uploads</td>
|
||||
<td>
|
||||
<span *ngIf="config.autoBlacklist.videos.ofUsers.enabled">Requires manual validation by moderators</span>
|
||||
<span *ngIf="!config.autoBlacklist.videos.ofUsers.enabled">Automatically published</span>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td i18n class="sub-label">Video quota</td>
|
||||
|
||||
<td class="value">
|
||||
<ng-container *ngIf="initialUserVideoQuota !== -1">
|
||||
|
@ -30,5 +51,35 @@
|
|||
</ng-container>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td i18n class="label" colspan="2">Import</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td i18n class="sub-label">HTTP import (YouTube, Vimeo, direct URL...)</td>
|
||||
<td>
|
||||
<my-feature-boolean [value]="config.import.videos.http.enabled"></my-feature-boolean>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td i18n class="sub-label">Torrent import</td>
|
||||
<td>
|
||||
<my-feature-boolean [value]="config.import.videos.torrent.enabled"></my-feature-boolean>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr>
|
||||
<td i18n class="label" colspan="2">Player</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td i18n class="sub-label">P2P enabled</td>
|
||||
<td>
|
||||
<my-feature-boolean [value]="config.tracker.enabled"></my-feature-boolean>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue