Skip to content

A free open source IT asset/license management system

Added tooltip for undeployable items

snipe0cc9c214aa93
diff --git a/resources/views/partials/bootstrap-table.blade.php b/resources/views/partials/bootstrap-table.blade.php
index 5e660ab4fd..fe046bab17 100644
--- a/resources/views/partials/bootstrap-table.blade.php
+++ b/resources/views/partials/bootstrap-table.blade.php
@@ -204,7 +204,7 @@ $('.snipe-table').bootstrapTable({
// The user is allowed to check items out, but the item is not deployable
} else if (((row.user_can_checkout == false)) && (row.available_actions.checkout == true) && (!row.assigned_to)) {
- return '<a class="btn btn-sm btn-primary disabled">{{ trans('general.checkout') }}</a>';
+ return '<div data-tooltip="true" title="This item has a status label that is undeployable and cannot be checked out at this time."><a class="btn btn-sm btn-primary disabled">{{ trans('general.checkout') }}</a></div>';
// The user is allowed to check items in
} else if ((row.available_actions.checkin == true) && (row.assigned_to)) {