From 295579f8d14e2a74401d9fae6c9a5feafd45da2b Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Wed, 4 Dec 2024 09:53:46 +0000 Subject: [PATCH] Bug 37993: (QA follow-up) Fix tooltip and disabled display This patch re-arranges the button markup slightly to properly style the disabled 'Create EDI Order' button when there are no EAN's defined for the library. It also moves the tooltip to the container btn-group element to ensure the tooltip works even though the button itself is disabled. --- .../intranet-tmpl/prog/en/modules/acqui/basket.tt | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt index 9a0d4e23109..729661670b4 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt @@ -110,10 +110,13 @@ [% PROCESS csv_export %] [% IF Koha.Preference('EDIFACT') && ediaccount %] + [% UNLESS eans.size %] +
+ +
+ [% ELSE %]
- [% UNLESS eans.size %] - Create EDIFACT order - [% ELSIF eans.size == 1 %] + [% IF eans.size == 1 %] Create EDIFACT order [% ELSE %] @@ -126,6 +129,7 @@ [% END %]
+ [% END %] [% END %] [% IF ( active && books_loop ) %] -- 2.47.1