From 1132889dc9fc5dccabbca51460e3bfb32a9f5fbd Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 13 Jan 2020 12:04:46 +0100 Subject: [PATCH] Bug 23031: Make 'add to basket' accessible in one click (fix regression) Since bug 21364 we have 'view' then 'add to basket' that is accessible in 2 clicks. We should have it directly accessible. Test plan: Create a new basket Add a new order to the basket (note that the link is directly accessible) When a new order is added you can close the basket from the basket list view Note that the dropdown button displays correctly Signed-off-by: Owen Leonard Signed-off-by: Katrin Fischer Signed-off-by: Martin Renvoize --- .../intranet-tmpl/prog/en/modules/acqui/booksellers.tt | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/booksellers.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/booksellers.tt index 4f6165704c..17a2f922b5 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/booksellers.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/booksellers.tt @@ -144,12 +144,12 @@ [% IF not basket.closedate and supplier.active %] + [% IF basket.uncertainprices OR ( basket.total_items && !basket.is_standing ) %]
[%# There should be no space between these two buttons, it would render badly %] - View + Add to basket
- [% ELSE %] - View + [% ELSE %] + Add to basket + [% END %] [% END %] -- 2.39.5