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