aboutsummaryrefslogtreecommitdiffhomepage
path: root/client
diff options
context:
space:
mode:
Diffstat (limited to 'client')
-rw-r--r--client/src/app/+admin/system/jobs/jobs.component.ts3
-rw-r--r--client/src/app/+videos/+video-watch/shared/information/video-alert.component.html4
-rw-r--r--client/src/app/+videos/+video-watch/shared/information/video-alert.component.ts4
3 files changed, 10 insertions, 1 deletions
diff --git a/client/src/app/+admin/system/jobs/jobs.component.ts b/client/src/app/+admin/system/jobs/jobs.component.ts
index 29ba95c5c..4b02e1bc1 100644
--- a/client/src/app/+admin/system/jobs/jobs.component.ts
+++ b/client/src/app/+admin/system/jobs/jobs.component.ts
@@ -36,7 +36,8 @@ export class JobsComponent extends RestTable implements OnInit {
36 'video-live-ending', 36 'video-live-ending',
37 'video-redundancy', 37 'video-redundancy',
38 'video-transcoding', 38 'video-transcoding',
39 'videos-views' 39 'videos-views',
40 'move-to-object-storage'
40 ] 41 ]
41 42
42 jobs: Job[] = [] 43 jobs: Job[] = []
diff --git a/client/src/app/+videos/+video-watch/shared/information/video-alert.component.html b/client/src/app/+videos/+video-watch/shared/information/video-alert.component.html
index 3480d3656..e2dd44bf7 100644
--- a/client/src/app/+videos/+video-watch/shared/information/video-alert.component.html
+++ b/client/src/app/+videos/+video-watch/shared/information/video-alert.component.html
@@ -6,6 +6,10 @@
6 The video is being transcoded, it may not work properly. 6 The video is being transcoded, it may not work properly.
7</div> 7</div>
8 8
9<div i18n class="alert alert-warning" *ngIf="isVideoToMoveToExternalStorage()">
10 The video is being moved to an external server, it may not work properly.
11</div>
12
9<div i18n class="alert alert-info" *ngIf="hasVideoScheduledPublication()"> 13<div i18n class="alert alert-info" *ngIf="hasVideoScheduledPublication()">
10 This video will be published on {{ video.scheduledUpdate.updateAt | date: 'full' }}. 14 This video will be published on {{ video.scheduledUpdate.updateAt | date: 'full' }}.
11</div> 15</div>
diff --git a/client/src/app/+videos/+video-watch/shared/information/video-alert.component.ts b/client/src/app/+videos/+video-watch/shared/information/video-alert.component.ts
index 8a46ba0d5..0072492ac 100644
--- a/client/src/app/+videos/+video-watch/shared/information/video-alert.component.ts
+++ b/client/src/app/+videos/+video-watch/shared/information/video-alert.component.ts
@@ -18,6 +18,10 @@ export class VideoAlertComponent {
18 return this.video && this.video.state.id === VideoState.TO_IMPORT 18 return this.video && this.video.state.id === VideoState.TO_IMPORT
19 } 19 }
20 20
21 isVideoToMoveToExternalStorage () {
22 return this.video && this.video.state.id === VideoState.TO_MOVE_TO_EXTERNAL_STORAGE
23 }
24
21 hasVideoScheduledPublication () { 25 hasVideoScheduledPublication () {
22 return this.video && this.video.scheduledUpdate !== undefined 26 return this.video && this.video.scheduledUpdate !== undefined
23 } 27 }