diff options
author | Chocobozzz <me@florianbigard.com> | 2019-12-10 10:02:23 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-12-10 10:02:23 +0100 |
commit | cd3d847d63239802553b19f359c290a08fa0850c (patch) | |
tree | 1092b8cf811665c6d33c1e8cb50b5a8aa3a007fb /client/src/app/videos/+video-edit/video-add.component.html | |
parent | 5e6c69cedd39d7df2d6ceedacad0ac51e6f6862a (diff) | |
download | PeerTube-cd3d847d63239802553b19f359c290a08fa0850c.tar.gz PeerTube-cd3d847d63239802553b19f359c290a08fa0850c.tar.zst PeerTube-cd3d847d63239802553b19f359c290a08fa0850c.zip |
Add a warning when uploading videos using root
Diffstat (limited to 'client/src/app/videos/+video-edit/video-add.component.html')
-rw-r--r-- | client/src/app/videos/+video-edit/video-add.component.html | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/client/src/app/videos/+video-edit/video-add.component.html b/client/src/app/videos/+video-edit/video-add.component.html index 72a233b72..a99988600 100644 --- a/client/src/app/videos/+video-edit/video-add.component.html +++ b/client/src/app/videos/+video-edit/video-add.component.html | |||
@@ -1,5 +1,11 @@ | |||
1 | <div class="margin-content"> | 1 | <div class="margin-content"> |
2 | <div class="title-page title-page-single"> | 2 | <div class="alert alert-warning" *ngIf="isRootUser()" i18n> |
3 | We recommend you to not use the <strong>root</strong> user to publish your videos, since it's the super-admin account of your instance. | ||
4 | <br /> | ||
5 | Instead, <a routerLink="/admin/users">create a dedicated account</a> to upload your videos. | ||
6 | </div> | ||
7 | |||
8 | <div class="title-page title-page-single" *ngIf="isInSecondStep()"> | ||
3 | <ng-container *ngIf="secondStepType === 'import-url' || secondStepType === 'import-torrent'" i18n>Import {{ videoName }}</ng-container> | 9 | <ng-container *ngIf="secondStepType === 'import-url' || secondStepType === 'import-torrent'" i18n>Import {{ videoName }}</ng-container> |
4 | <ng-container *ngIf="secondStepType === 'upload'" i18n>Upload {{ videoName }}</ng-container> | 10 | <ng-container *ngIf="secondStepType === 'upload'" i18n>Upload {{ videoName }}</ng-container> |
5 | </div> | 11 | </div> |