From dde374e2ad1fa69deaebf21c2a569ecdb4c12594 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Thu, 16 Nov 2023 14:12:17 +0000 Subject: [PATCH] Bug 35351: Adjust basket details template to avoid showing empty page-section This patch makes a minor change to the markup of the basket details page so that we don't display an empty div.page-section when there are no orders. Note: This patch includes whitespace changes, so please ignore whitespace when viewing the diff. To test, apply the patch and go to Acquisitions. - Search for a vendor and add a basket if necessary. - View the details of an empty basket. - Under the "General information" or "Settings" sections there should be no empty white box. - View the details of a basket which has orders (using the "Add to basket" process if necessary). - Orders should be displayed correctly. Signed-off-by: David Nind Signed-off-by: Emily Lamancusa Signed-off-by: Katrin Fischer --- .../intranet-tmpl/prog/en/modules/acqui/basket.tt | 10 +++++----- 1 file changed, 5 insertions(+), 5 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 80fa9cda1f..8d0ac49c38 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt @@ -482,8 +482,8 @@ [% END %] -
- [% IF ( books_loop ) %] + [% IF ( books_loop ) %] +

Orders

@@ -755,9 +755,9 @@ [% END %]
- [% END # / IF ( books_loop ) %] - [% IF ( listincgst ) %]** Vendor's listings already include tax.[% END %] -
+ [% IF ( listincgst ) %]** Vendor's listings already include tax.[% END %] +
+ [% END # / IF ( books_loop ) %] [% IF (cancelledorders_loop) %]
-- 2.39.5