From 457e19c33b05109642fd22949ab05629c33dd4c8 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 --- koha-tmpl/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 8764658ead..16b6bdce5d 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.11.0