From e51abdd30e2bf04b60f8affd355a0c53f3d5002e Mon Sep 17 00:00:00 2001 From: Winona Salesky Date: Tue, 21 Apr 2015 22:49:57 -0400 Subject: [PATCH] Bug 13382 - RDA: 700/710/711 display in XSLT Test Plan: 1) Apply this patch 2) Ensure you are using the default XSLT setting for the staff and opac record details 3) Find or create a record with MARC tags 700,710,711 4) Perform an opac search that would show the record in the search results. 5) Click title to review record. 6) Note the fields updates 700,710,711 to show subfields a, b, c, d, e, f, g, h, i, k, l, m, n, o, p, r, s, t, u, x. Multiple fields are separated by span class=separator |. Adds Related and Contained Works as new headings. 7) Repeat steps 4 - 6 for the staff interface --- .../prog/en/xslt/MARC21slim2intranetDetail.xsl | 147 +++++++++++++++-- .../bootstrap/en/xslt/MARC21slim2OPACDetail.xsl | 175 ++++++++++++++++++--- 2 files changed, 285 insertions(+), 37 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl index 913a285..0f027bb 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl +++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl @@ -141,10 +141,18 @@ - + - - + + + + + + + + + + Material type: @@ -529,6 +537,91 @@ + + + Related Works: + + + + abcdfghiklmnporstux + + + + + + + + + + + [ + + + + + , + + + + + + , + + + + ] + + + + . | + + + + + + + + Contained Works: + + + + abcdfghiklmnporstux + + + + + + + + + + + [ + + + + + , + + + + + + , + + + + ] + + + + . | + + + + + + Subject(s): @@ -1027,7 +1120,8 @@ Author(s): - Additional author(s): + + Contributor(s): @@ -1039,28 +1133,57 @@ - - - + + + + + + + + + abcdfghiklmnoprstux + + + + + + + + :,;/. + + + + - + [ - - + + + + , + + + + + + , + + ] - .; + . | - + + diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl index 1c0e766..e90136c 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl +++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl @@ -162,18 +162,20 @@ - - -
by - - - - - - -
-
-
+ + + + + + + + + + + + + + @@ -577,6 +579,91 @@ + + + + Related Works: + + + + abcdfghiklmnporstux + + + + + + + + + + + [ + + + + + , + + + + + + , + + + + ] + + + + . | + + + + + + + + Contained Works: + + + + abcdfghiklmnporstux + + + + + + + + + + + [ + + + + + , + + + + + + , + + + + ] + + + + . | + + + + + Subject(s): @@ -1093,10 +1180,17 @@ - - ; + +
+ + + + Author(s): + + Contributor(s): + - + @@ -1135,20 +1229,47 @@ - - - + + + + + + + + + abcdfghiklmnoprstux + + + + + + + + :,;/. + + + - [ - - - - - ] + [ + + + + + , + + + + + + , + + + + ] @@ -1164,7 +1285,11 @@ - . + + . | + +
+
-- 2.3.2 (Apple Git-55)