From 757efa73022cf6f2f56f3d01e57f56268ab0737e Mon Sep 17 00:00:00 2001 From: Winona Salesky Date: Mon, 9 Mar 2015 11:20:58 -0400 Subject: [PATCH] Bug 13381 - RDA: 245 field changes in XSLT This patch updates the display of the title and statement of responsibility in the XSLT display in the staff and OPAC. Display includes subfields a,b,c,h,k,n,p,s Subfield c is wrapped in a span class=title_resp_stmt for easy suppression via css. Subfield h is wrapped in a span class=title_medium for easy suppression via css. To test: * Search the opac * Click the title * Make sure the fields display properly * Repeat for a few more titles * Repeat in the Staff Client --- .../prog/en/xslt/MARC21slim2intranetDetail.xsl | 41 ++++++++------- .../prog/en/xslt/MARC21slim2intranetResults.xsl | 52 ++++++++----------- .../bootstrap/en/xslt/MARC21slim2OPACDetail.xsl | 48 ++++++++++-------- .../bootstrap/en/xslt/MARC21slim2OPACResults.xsl | 52 ++++++++----------- 4 files changed, 92 insertions(+), 101 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..f0e4e2d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl +++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl @@ -100,30 +100,33 @@ + -

- +

+ a - - - - h - - - - - - b - - - - fgknps - - -

+ + + + + + + + + + + + + + + + + +
+

diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl index 585b81a..3fa4ef5 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl +++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl @@ -302,37 +302,29 @@ title - - - - a - - - - - h - - - - - - b - - - - - fgknps - - - - - - - + + + a - - - + + + + + + + + + + + + + + + + + + + diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl index 11624c4..7235738 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl +++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl @@ -121,31 +121,35 @@ - -

- - - a - - - + + +

+ - h + a - - - - b - - - - - fgknps - - -

-
+ + + + + + + + + + + + + + + + + +
+

+
+ diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl index 1609ef0..5f67195 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl +++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl @@ -415,37 +415,29 @@ title - - - - a - - - - - h - - - - - - b - - - - - fgknps - - - - - - - + + + a - - - + + + + + + + + + + + + + + + + + + +

-- 1.7.2.5