From cbc46793415a531ae0041a9857520bb4f0b9b90b 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 --- 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 bfa8601f56..9b6285d47b 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