From aaec5296d2fa63828c320e4a3fb1e5ed0e168de2 Mon Sep 17 00:00:00 2001 From: Einat Vinouze Date: Mon, 18 May 2020 10:06:29 +0300 Subject: Add pause icon to the instantiationStatus table Issue-ID: VID-821 Signed-off-by: Einat Vinouze Change-Id: Idbe53b0d0f3515e5c5321f4631ff45ac459377c6 Signed-off-by: Einat Vinouze --- .../app/instantiationStatus/instantiationStatus.component.service.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'vid-webpack-master/src/app/instantiationStatus/instantiationStatus.component.service.ts') diff --git a/vid-webpack-master/src/app/instantiationStatus/instantiationStatus.component.service.ts b/vid-webpack-master/src/app/instantiationStatus/instantiationStatus.component.service.ts index a6445193c..e59c16a3a 100644 --- a/vid-webpack-master/src/app/instantiationStatus/instantiationStatus.component.service.ts +++ b/vid-webpack-master/src/app/instantiationStatus/instantiationStatus.component.service.ts @@ -22,6 +22,7 @@ export let X_O : string = "x-circle-o"; export let SUCCESS_CIRCLE : string = "success-circle-o"; export let STOPPED : string = "stop"; export let COMPLETED_WITH_ERRORS : string = "success_with_warning"; +export let PAUSE_UPON_COMPLETION : string = "stopped-upon-success"; export let UNKNOWN : string = "question-mark-circle-o"; @@ -168,7 +169,8 @@ export class InstantiationStatusComponentService { return new ServiceStatus(STOPPED, 'error', 'Stopped: Due to previous failure, will not be instantiated.'); case 'COMPLETED_WITH_ERRORS' : return new ServiceStatus(COMPLETED_WITH_ERRORS, 'success', 'Completed with errors: some of the planned actions where successfully committed while other have not.\n Open the service to check it out.'); - + case 'COMPLETED_AND_PAUSED' : + return new ServiceStatus(PAUSE_UPON_COMPLETION, 'default','Pause upon completion. you may resume the instantiation.\n Open the service to check it out.' ); default: return new ServiceStatus(UNKNOWN, 'primary', `Unexpected status: "${status}"`); } -- cgit 1.2.3-korg