From 41025385ccc8c785287666624bc8655bc93b38a3 Mon Sep 17 00:00:00 2001 From: Winona Salesky Date: Thu, 2 Apr 2015 12:58:06 -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 search results and 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 | 179 ++++++++++++++---- .../bootstrap/en/xslt/MARC21slim2OPACDetail.xsl | 207 ++++++++++++++++----- 2 files changed, 303 insertions(+), 83 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl index 349dbea..9d2da8c 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl +++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl @@ -3,6 +3,7 @@ ]> + - - - + + + + + + + + + + + Material type: /intranet-tmpl/prog/img/famfamfam/.png @@ -524,7 +533,90 @@ - + + + + Related Works: + + + + abcdfghiklmnporstux + + + + + + + + + + + [ + + + + + , + + + + + + , + + + + ] + + + + . | + + + + + + + + Contained Works: + + + + abcdfghiklmnporstux + + + + + + + + + + + [ + + + + + , + + + + + + , + + + + ] + + + + . | + + + + Subject(s): @@ -565,22 +657,6 @@ - - - - DDC classification: - - - a - - - - | - - - - - Online resources: @@ -965,7 +1041,8 @@ Author(s): - Additional author(s): + + Contributor(s): @@ -977,28 +1054,58 @@ - - - + + + + + + + + + abcdfghiklmnoprstux + + + + + + + + :,;/. + + + - - - [ - - - - - ] - - + + + + [ + + + + + + , + + + + + + , + + + + ] + + + - .; + . | - + \ No newline at end of file diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl index 11624c4..8f575a0 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl +++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl @@ -1,5 +1,6 @@ + ]> - - -
by - - - - - - -
-
-
- + + + + + + + + + + + + + Material type: @@ -572,6 +573,91 @@ + + + + Related Works: + + + + abcdfghiklmnporstux + + + + + + + + + + + [ + + + + + , + + + + + + , + + + + ] + + + + . | + + + + + + + + Contained Works: + + + + abcdfghiklmnporstux + + + + + + + + + + + [ + + + + + , + + + + + + , + + + + ] + + + + . | + + + + + Subject(s): @@ -625,23 +711,6 @@ - - - - DDC classification: - - - a - - - - | - - - - - - Online resources: @@ -1042,10 +1111,18 @@ + + +
- ; - + + by + + Contributor(s): + + + @@ -1084,21 +1161,52 @@ - - - + + + + + + + + + abcdfghiklmnoprstux + + + + + + + + :,;/. + + + - - + + + + - - [ - - - - - ] - + + + [ + + + + + , + + + + + + , + + + + ] + + @@ -1112,8 +1220,13 @@ + + + . | + - . +
+
@@ -1190,4 +1303,4 @@ -
+ \ No newline at end of file -- 1.9.5 (Apple Git-50.3)