Bug 31905: Fix button spacing on holds page
authorOwen Leonard <oleonard@myacpl.org>
Wed, 26 Oct 2022 11:19:07 +0000 (11:19 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Thu, 27 Oct 2022 12:35:10 +0000 (09:35 -0300)
commitd4b6fcc0f3b72a4a07a601dc72f6d651f54654b7
treeb141cc98af6f7fa95cad369aa90e7581bcc64d98
parent40a40752e3631f8a53e131a446ce8d5b76004925
Bug 31905: Fix button spacing on holds page

This patch makes minor modifications to the holds template in order to
improve the display of the hold buttons related to existing holds.

The patch also adds "display:none" to the hold cancellation fieldset so
there isn't a flash of content before JavaScript hides it.

To test, apply the patch and locate a record in the catalog.

- Place one or more holds on the record.
- View the holds for that record.
- Under the "Existing holds" heading there should be a toolbar of
  buttons which sits above the page-section div. The buttons should be
  well spaced.
- If you have cancellation reasons defined in authorized values, the
  "Cancel selected" button should correctly trigger a modal with the
  option to specify a cancellation reason.
- The display should work well for any setting of the HoldsSplitQueue
  system preference.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt