From 89434a8a8d2afb0821e1cb7ff899b56a244bdede Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 6 Nov 2019 10:45:56 +0100 Subject: [PATCH] Bug 5365: Make more clear how to reopen a basket in a basket group The "reopen basket" button will be visible but disabled if the basket cannot be reopened. A tooltip is attached to the button to add more information. Note that the export button is still hidden, would it makes sense to display it (visible and active)? Test plan: - Create a basket - Close it - Go to the basket detail view => The reopen button should be displayed and enabled - Attach it to a basket group - Go to the basket detail view => The reopen button should be displayed but disabled Signed-off-by: Katrin Fischer Signed-off-by: Marcel de Rooy Signed-off-by: Martin Renvoize (cherry picked from commit b687c60b27fa5a813b148bd5730b2d8278062ad5) Signed-off-by: Lucas Gass --- .../intranet-tmpl/prog/en/modules/acqui/basket.tt | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 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 96858b9268..4b1f770ead 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt @@ -145,15 +145,17 @@ [% ELSE %] - [% UNLESS ( grouped ) %]
+ [% IF grouped %] + + [% ELSE %] + - - - [% PROCESS csv_export %] - + [% PROCESS csv_export %] + [% END %]
- [% END %] [% END %] [% END %] -- 2.39.5