diff --git a/src/Appwrite/Platform/Modules/Badge/Http/Action.php b/src/Appwrite/Platform/Modules/Badge/Http/Action.php index 6e2152870c..6ba7acf77b 100644 --- a/src/Appwrite/Platform/Modules/Badge/Http/Action.php +++ b/src/Appwrite/Platform/Modules/Badge/Http/Action.php @@ -19,6 +19,7 @@ abstract class Action extends UtopiaAction 'building' => 70, 'waiting' => 70, 'failed' => 60, + 'canceled' => 80, ]; protected const COLOR_BRIGHTGREEN = '#4c1'; protected const COLOR_GREEN = '#97ca00'; diff --git a/src/Appwrite/Platform/Modules/Badge/Http/Functions/Get.php b/src/Appwrite/Platform/Modules/Badge/Http/Functions/Get.php index 42e13d63f0..b9534a70d7 100644 --- a/src/Appwrite/Platform/Modules/Badge/Http/Functions/Get.php +++ b/src/Appwrite/Platform/Modules/Badge/Http/Functions/Get.php @@ -78,6 +78,10 @@ class Get extends Action $message = 'failed'; $color = 'red'; break; + case 'canceled': + $message = 'canceled'; + $color = 'orange'; + break; case '': $message = 'no deployment'; $color = 'lightgrey'; diff --git a/src/Appwrite/Platform/Modules/Badge/Http/Sites/Get.php b/src/Appwrite/Platform/Modules/Badge/Http/Sites/Get.php index e55e1661c9..65e6a52663 100644 --- a/src/Appwrite/Platform/Modules/Badge/Http/Sites/Get.php +++ b/src/Appwrite/Platform/Modules/Badge/Http/Sites/Get.php @@ -78,6 +78,10 @@ class Get extends Action $message = 'failed'; $color = 'red'; break; + case 'canceled': + $message = 'canceled'; + $color = 'orange'; + break; case '': $message = 'no deployment'; $color = 'lightgrey';