]> git.koha-community.org Git - koha.git/commit
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)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Thu, 7 Mar 2024 14:02:45 +0000 (15:02 +0100)
commitdde374e2ad1fa69deaebf21c2a569ecdb4c12594
tree3216ffcae7d1ed9aaed7f9bbaaeb31452dd5016b
parentd485ff32b0949f1e39bb5325a4dbb49db89ec582
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>
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt