From 62ec79a4fdf20c9d351baffced64152d70420cd7 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 Signed-off-by: Nick Clemens Signed-off-by: Kyle M Hall Signed-off-by: Tomas Cohen Arazi --- .../en/xslt/MARC21slim2intranetDetail.xsl | 41 ++++++++------- .../en/xslt/MARC21slim2intranetResults.xsl | 52 ++++++++----------- .../en/xslt/MARC21slim2OPACDetail.xsl | 48 +++++++++-------- .../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 9a9c8890f9..913a285fdd 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 235b326a53..1f82effb87 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 ce656486e0..1c0e766af9 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 ab43082d16..24f15cad44 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 - - - + + + + + + + + + + + + + + + + + + +

-- 2.39.5