Switched to use info instead of danger on undeployable statuses

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2020-05-11 18:07:02 -07:00
parent 1a8ba06702
commit 9ee28c7513
No known key found for this signature in database
GPG key ID: 10BFFDA3ED34B5AC

View file

@ -156,15 +156,17 @@
$("#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('<i class="fa fa-check"></i> 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('<i class="fa fa-times"></i> That asset status is not deployable. This asset cannot be checked out. ');
$("#selected_status_status").addClass('text-warning');
$("#selected_status_status").html('<i class="fa fa-warning"></i> That asset status is not deployable. This asset cannot be checked out. ');
}
}
});