From 563efff23ee3db9415b32e5dd6d3f9718543ab20 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 --- .../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 c7ac227327..1a4a6547d0 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 6493efda20..d391050126 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