diff options
Diffstat (limited to 'client/src/app/+admin/config/edit-custom-config/edit-basic-configuration.component.html')
-rw-r--r-- | client/src/app/+admin/config/edit-custom-config/edit-basic-configuration.component.html | 24 |
1 files changed, 20 insertions, 4 deletions
diff --git a/client/src/app/+admin/config/edit-custom-config/edit-basic-configuration.component.html b/client/src/app/+admin/config/edit-custom-config/edit-basic-configuration.component.html index 7dfe5f5f9..929ea3a90 100644 --- a/client/src/app/+admin/config/edit-custom-config/edit-basic-configuration.component.html +++ b/client/src/app/+admin/config/edit-custom-config/edit-basic-configuration.component.html | |||
@@ -267,10 +267,10 @@ | |||
267 | inputName="importVideosHttpEnabled" formControlName="enabled" | 267 | inputName="importVideosHttpEnabled" formControlName="enabled" |
268 | i18n-labelText labelText="Allow import with HTTP URL (e.g. YouTube)" | 268 | i18n-labelText labelText="Allow import with HTTP URL (e.g. YouTube)" |
269 | > | 269 | > |
270 | <ng-container ngProjectAs="description"> | 270 | <ng-container ngProjectAs="description"> |
271 | <span i18n>⚠️ If enabled, we recommend to use <a class="link-orange" href="https://docs.joinpeertube.org/maintain-configuration?id=security">a HTTP proxy</a> to prevent private URL access from your PeerTube server</span> | 271 | <span i18n>⚠️ If enabled, we recommend to use <a class="link-orange" href="https://docs.joinpeertube.org/maintain-configuration?id=security">a HTTP proxy</a> to prevent private URL access from your PeerTube server</span> |
272 | </ng-container> | 272 | </ng-container> |
273 | </my-peertube-checkbox> | 273 | </my-peertube-checkbox> |
274 | </div> | 274 | </div> |
275 | 275 | ||
276 | <div class="form-group" formGroupName="torrent"> | 276 | <div class="form-group" formGroupName="torrent"> |
@@ -285,6 +285,22 @@ | |||
285 | </div> | 285 | </div> |
286 | 286 | ||
287 | </ng-container> | 287 | </ng-container> |
288 | |||
289 | <ng-container formGroupName="videoChannelSynchronization"> | ||
290 | <div class="form-group"> | ||
291 | <my-peertube-checkbox | ||
292 | inputName="importSynchronizationEnabled" formControlName="enabled" | ||
293 | i18n-labelText labelText="Allow channel synchronization with channel of other platforms like YouTube (requires allowing import with HTTP URL)" | ||
294 | > | ||
295 | <ng-container ngProjectAs="description"> | ||
296 | <span i18n [hidden]="isImportVideosHttpEnabled()"> | ||
297 | ⛔ You need to allow import with HTTP URL to be able to activate this feature. | ||
298 | </span> | ||
299 | </ng-container> | ||
300 | </my-peertube-checkbox> | ||
301 | </div> | ||
302 | </ng-container> | ||
303 | |||
288 | </ng-container> | 304 | </ng-container> |
289 | 305 | ||
290 | <ng-container formGroupName="autoBlacklist"> | 306 | <ng-container formGroupName="autoBlacklist"> |