From a7470125825e16d24f2f71b9cc9fb7889915c3ee 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 --- 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 8dd92e729a3..d596e29e8c5 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt @@ -1831,6 +1831,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.25.1