Bug 35351: Adjust basket details template to avoid showing empty page-section
authorOwen Leonard <oleonard@myacpl.org>
Thu, 16 Nov 2023 14:12:17 +0000 (14:12 +0000)
committerLucas Gass <lucas@bywatersolutions.com>
Tue, 19 Mar 2024 15:19:07 +0000 (15:19 +0000)
commita41a3f5ecbf47c34a3d2b956fed3f618f895854d
treef6bd5f6be68960a42e8b0020c4ffeebd39498fb3
parent5cb1f23479e82bd840b25336e7894e9f8c228da2
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 <david@davidnind.com>
Signed-off-by: Emily Lamancusa <emily.lamancusa@montgomerycountymd.gov>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit dde374e2ad1fa69deaebf21c2a569ecdb4c12594)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit 1b11a323f5df01ef78a03fa8918ca0c8a4455732)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt