Bug 26862: Improve MARC21 530 display on detail pages
authorKatrin Fischer <katrin.fischer@bsz-bw.de>
Mon, 3 Jul 2023 16:19:28 +0000 (16:19 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 11 Jul 2023 11:52:33 +0000 (08:52 -0300)
commit2bed26db3b6e0e57c0ced394b51d3a9f07e6e662
treec878321c448ebfcefc4edf62ea6e659d0d683fb0
parentf6b935a4ca7e9b70c5627fa601b5e9edf42e566d
Bug 26862: Improve MARC21 530 display on detail pages

This makes some changes to the way we display field 530 in OPAC
and staff interface:

* Adds missing spaces before $u and between repeated $u subfields
* Adds a description/label before the output of the subfields
* Adds display to the staff interface (was OPAC only)
* Adds separators between repeated 530 fields:
  * OPAC: updates mark-up to use the new CSS driven separators
  * Staff interface: adds | with separator class

To test:
* Find or create a records with multiple 530 entries
* Repeat $u with multiple URLs
* Verify display in staff (missing) and OPAC
* Apply patch
* Verify display is improved :D

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Heather Hernandez <heather_hernandez@nps.gov>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl
koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl