From 149ff1b1ecd6d5e0ef80f0b3a12e60f080e14acb 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 (cherry picked from commit 3b37423d82a6a6caacd71a468b1346c976c9609c) Signed-off-by: Matt Blenkinsop --- 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 eb46447a86..c4172d2ba9 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt @@ -1663,6 +1663,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