From c3356ab76586b6fcc52313dacf8a240faa7bec69 Mon Sep 17 00:00:00 2001 From: Godfrey M Date: Mon, 14 Aug 2023 12:20:46 -0700 Subject: [PATCH] fixed translation choice and color choice --- resources/views/statuslabels/index.blade.php | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/resources/views/statuslabels/index.blade.php b/resources/views/statuslabels/index.blade.php index 21ba2d7947..7fdf4fc9a5 100755 --- a/resources/views/statuslabels/index.blade.php +++ b/resources/views/statuslabels/index.blade.php @@ -113,11 +113,6 @@ function statusLabelTypeFormatter (row, value) { switch (value.type) { - case 'deployed': - text_color = 'blue'; - icon_style = 'fa-circle'; - trans = '{{ strtolower(trans('general.deployed')) }}'; - break; case 'deployable': text_color = 'green'; icon_style = 'fa-circle'; @@ -127,11 +122,11 @@ case 'pending': text_color = 'orange'; icon_style = 'fa-circle'; - trans = '{{ strtolower(trans('general.deployed')) }}'; + trans = '{{ strtolower(trans('general.pending')) }}'; break; case 'undeployable': - text_color = 'orange'; + text_color = 'red'; icon_style = 'fa-circle'; trans ='{{ trans('admin/statuslabels/table.undeployable') }}';