From 3b37423d82a6a6caacd71a468b1346c976c9609c Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 25 May 2023 11:46:39 +0200 Subject: [PATCH] Bug 31082: Add tooltip to buttons when item bundles cannot be changed while checked out Signed-off-by: Martin Renvoize Signed-off-by: Victor Grousset/tuxayo Signed-off-by: Tomas Cohen Arazi (cherry picked from commit cbc46793415a531ae0041a9857520bb4f0b9b90b) Signed-off-by: Martin Renvoize --- koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt | 1 + 1 file changed, 1 insertion(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt index bfc258eda4..dced71df00 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt @@ -1835,6 +1835,7 @@ // Disable management if there's a duedate if(duedate) { bundle_toolbar.children('.btn').addClass("disabled"); + bundle_toolbar.attr("title", __("This bundle is checked out, it cannot be modified")); } // This is the table we'll convert into a DataTable -- 2.39.5