From 66f35dc7366a879b8efc6cf8138fce04a4cd0990 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 --- koha-tmpl/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 512eed7015e..01a4ae94516 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.11.0