From d7b5cf250107aa063afc388dd36a376cf5f7e8eb Mon Sep 17 00:00:00 2001 From: Winona Salesky Date: Tue, 21 Apr 2015 22:49:57 -0400 Subject: [PATCH] [PASSED QA] 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 Signed-off-by: Nick Clemens Signed-off-by: Kyle M Hall --- .../prog/en/xslt/MARC21slim2intranetDetail.xsl | 145 +++++++++++++++-- .../bootstrap/en/xslt/MARC21slim2OPACDetail.xsl | 175 +++++++++++++++++--- 2 files changed, 284 insertions(+), 36 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl index 5735650..e94b6ae 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl +++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl @@ -144,8 +144,16 @@ - - + + + + + + + + + + Material type: @@ -530,6 +538,91 @@ + + + Related Works: + + + + abcdfghiklmnporstux + + + + + + + + + + + [ + + + + + , + + + + + + , + + + + ] + + + + . | + + + + + + + + Contained Works: + + + + abcdfghiklmnporstux + + + + + + + + + + + [ + + + + + , + + + + + + , + + + + ] + + + + . | + + + + + + Subject(s): @@ -1030,7 +1123,8 @@ Author(s): - Additional author(s): + + Contributor(s): @@ -1042,28 +1136,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 00b28ae..8b7d559 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl +++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl @@ -163,18 +163,20 @@ - - -
by - - - - - - -
-
-
+ + + + + + + + + + + + + + @@ -578,6 +580,91 @@ + + + + Related Works: + + + + abcdfghiklmnporstux + + + + + + + + + + + [ + + + + + , + + + + + + , + + + + ] + + + + . | + + + + + + + + Contained Works: + + + + abcdfghiklmnporstux + + + + + + + + + + + [ + + + + + , + + + + + + , + + + + ] + + + + . | + + + + + Subject(s): @@ -1096,10 +1183,17 @@ - - ; + +
+ + + + Author(s): + + Contributor(s): + - + @@ -1138,20 +1232,47 @@ - - - + + + + + + + + + abcdfghiklmnoprstux + + + + + + + + :,;/. + + + - [ - - - - - ] + [ + + + + + , + + + + + + , + + + + ] @@ -1167,7 +1288,11 @@ - . + + . | + +
+
-- 1.7.2.5