]>
Commit | Line | Data |
---|---|---|
41a676db C |
1 | <div class="feature-table"> |
2 | ||
a00045a2 | 3 | <table class="table" *ngIf="config"> |
c8000975 | 4 | <tr> |
a00045a2 C |
5 | <td i18n class="label"> |
6 | <div>Default NSFW/sensitive videos policy</div> | |
7 | <div class="more-info">can be redefined by the users</div> | |
8 | </td> | |
c8000975 C |
9 | |
10 | <td class="value">{{ buildNSFWLabel() }}</td> | |
11 | </tr> | |
12 | ||
a00045a2 C |
13 | <tr> |
14 | <td i18n class="label">User registration allowed</td> | |
c0e04e46 | 15 | <td> |
a00045a2 | 16 | <my-feature-boolean [value]="config.signup.allowed"></my-feature-boolean> |
c0e04e46 C |
17 | </td> |
18 | </tr> | |
19 | ||
41a676db | 20 | <tr> |
a00045a2 C |
21 | <td i18n class="label" colspan="2">Video uploads</td> |
22 | </tr> | |
23 | ||
24 | <tr> | |
25 | <td i18n class="sub-label">Transcoding in multiple resolutions</td> | |
26 | <td> | |
27 | <my-feature-boolean [value]="config.transcoding.enabledResolutions.length !== 0"></my-feature-boolean> | |
28 | </td> | |
29 | </tr> | |
30 | ||
31 | <tr> | |
32 | <td i18n class="sub-label">Video uploads</td> | |
33 | <td> | |
34 | <span *ngIf="config.autoBlacklist.videos.ofUsers.enabled">Requires manual validation by moderators</span> | |
35 | <span *ngIf="!config.autoBlacklist.videos.ofUsers.enabled">Automatically published</span> | |
36 | </td> | |
37 | </tr> | |
38 | ||
39 | <tr> | |
40 | <td i18n class="sub-label">Video quota</td> | |
41a676db C |
41 | |
42 | <td class="value"> | |
43 | <ng-container *ngIf="initialUserVideoQuota !== -1"> | |
61318dd6 | 44 | {{ initialUserVideoQuota | bytes: 0 }} <ng-container *ngIf="dailyUserVideoQuota !== -1">({{ dailyUserVideoQuota | bytes: 0 }} per day)</ng-container> |
41a676db | 45 | |
421d935d C |
46 | <my-help tooltipPlacement="auto" helpType="custom"> |
47 | <ng-template ptTemplate="customHtml"> | |
48 | <div [innerHTML]="quotaHelpIndication"></div> | |
49 | </ng-template> | |
50 | </my-help> | |
41a676db C |
51 | </ng-container> |
52 | ||
53 | <ng-container i18n *ngIf="initialUserVideoQuota === -1"> | |
61318dd6 | 54 | Unlimited <ng-container *ngIf="dailyUserVideoQuota !== -1">({{ dailyUserVideoQuota | bytes: 0 }} per day)</ng-container> |
41a676db C |
55 | </ng-container> |
56 | </td> | |
57 | </tr> | |
a00045a2 C |
58 | |
59 | <tr> | |
60 | <td i18n class="label" colspan="2">Import</td> | |
61 | </tr> | |
62 | ||
63 | <tr> | |
64 | <td i18n class="sub-label">HTTP import (YouTube, Vimeo, direct URL...)</td> | |
65 | <td> | |
66 | <my-feature-boolean [value]="config.import.videos.http.enabled"></my-feature-boolean> | |
67 | </td> | |
68 | </tr> | |
69 | ||
70 | <tr> | |
71 | <td i18n class="sub-label">Torrent import</td> | |
72 | <td> | |
73 | <my-feature-boolean [value]="config.import.videos.torrent.enabled"></my-feature-boolean> | |
74 | </td> | |
75 | </tr> | |
76 | ||
77 | ||
78 | <tr> | |
79 | <td i18n class="label" colspan="2">Player</td> | |
80 | </tr> | |
81 | ||
82 | <tr> | |
83 | <td i18n class="sub-label">P2P enabled</td> | |
84 | <td> | |
85 | <my-feature-boolean [value]="config.tracker.enabled"></my-feature-boolean> | |
86 | </td> | |
87 | </tr> | |
41a676db | 88 | </table> |
c0e04e46 | 89 | </div> |