From 39e659a11c1b2ea274b9cff41f2ec9ba3438f535 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Mon, 3 Jul 2023 16:19:28 +0000 Subject: [PATCH] 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 Signed-off-by: Heather Hernandez --- .../en/xslt/MARC21slim2intranetDetail.xsl | 22 +++++++++++ .../en/xslt/MARC21slim2OPACDetail.xsl | 39 ++++++++++++------- 2 files changed, 46 insertions(+), 15 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl index 736ee197a9..c8dd79566d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl +++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl @@ -1052,6 +1052,28 @@ + + + + Available additional physical forms: + + + abcd + + + + + + + + + + + | + + + + diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl index bfd0f2565e..629b8e14cf 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl +++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl @@ -1138,21 +1138,30 @@ - - - - abcd - - - - - _blank - - - - - - + + Available additional physical forms: + + -- 2.30.2