From 9ee28c7513616018f8ff0b8f5b167469e19070eb Mon Sep 17 00:00:00 2001 From: snipe Date: Mon, 11 May 2020 18:07:02 -0700 Subject: [PATCH] Switched to use info instead of danger on undeployable statuses Signed-off-by: snipe --- resources/views/hardware/edit.blade.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/resources/views/hardware/edit.blade.php b/resources/views/hardware/edit.blade.php index 41c3addfe738..ed87fcb17b76 100755 --- a/resources/views/hardware/edit.blade.php +++ b/resources/views/hardware/edit.blade.php @@ -156,15 +156,17 @@ function user_add(status_id) { $("#assigned_user").show(); $("#selected_status_status").removeClass('text-danger'); + $("#selected_status_status").removeClass('text-warning'); $("#selected_status_status").addClass('text-success'); $("#selected_status_status").html(' That status is deployable. This asset can be checked out.'); } else { $("#assignto_selector").hide(); + $("#selected_status_status").removeClass('text-danger'); $("#selected_status_status").removeClass('text-success'); - $("#selected_status_status").addClass('text-danger'); - $("#selected_status_status").html(' That asset status is not deployable. This asset cannot be checked out. '); + $("#selected_status_status").addClass('text-warning'); + $("#selected_status_status").html(' That asset status is not deployable. This asset cannot be checked out. '); } } });