diff options
Diffstat (limited to 'client/src/app/+videos')
-rw-r--r-- | client/src/app/+videos/+video-watch/shared/information/video-alert.component.html | 4 | ||||
-rw-r--r-- | client/src/app/+videos/+video-watch/shared/information/video-alert.component.ts | 4 |
2 files changed, 8 insertions, 0 deletions
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 | } |