Bugzilla – Attachment 37248 Details for
Bug 13385
RDA: 508 display in XSLT
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED OFF] Added field 508 bug #13385
SIGNED-OFF-Added-field-508-bug-13385.patch (text/plain), 2.98 KB, created by
Nick Clemens (kidclamp)
on 2015-03-25 20:01:19 UTC
(
hide
)
Description:
[SIGNED OFF] Added field 508 bug #13385
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2015-03-25 20:01:19 UTC
Size:
2.98 KB
patch
obsolete
>From 9b12b03cce12f23fe8b5e4962c35fb9d4cd986f9 Mon Sep 17 00:00:00 2001 >From: Winona Salesky <wsalesky@gmail.com> >Date: Mon, 9 Mar 2015 11:58:37 -0400 >Subject: [PATCH] [SIGNED OFF] Added field 508 bug #13385 > >This patch adds field 508 to the XSLT display in the staff and OPAC view. > >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 <nick@quecheelibrary.org> >--- > .../prog/en/xslt/MARC21slim2intranetDetail.xsl | 12 ++++++++++++ > .../opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl | 12 ++++++++++++ > 2 files changed, 24 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >index 349dbea..3473741 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >+++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >@@ -647,6 +647,18 @@ > </div> > </xsl:if> > >+ <!-- Bug 13385 Added 508 field --> >+ <xsl:if test="marc:datafield[@tag=508]"> >+ <div class="results_summary prod_credits"> >+ <span class="label">Production Credits: </span> >+ <xsl:for-each select="marc:datafield[@tag=508]"> >+ <xsl:call-template name="subfieldSelectSpan"> >+ <xsl:with-param name="codes">a</xsl:with-param> >+ </xsl:call-template> >+ </xsl:for-each> >+ </div> >+ </xsl:if> >+ > <!-- 773 --> > <xsl:if test="marc:datafield[@tag=773]"> > <xsl:for-each select="marc:datafield[@tag=773]"> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl >index 11624c4..f919439 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl >@@ -761,6 +761,18 @@ > </xsl:for-each> > </xsl:if> > >+ <!-- Bug 13385 Added 508 field --> >+ <xsl:if test="marc:datafield[@tag=508]"> >+ <div class="results_summary prod_credits"> >+ <span class="label">Production Credits: </span> >+ <xsl:for-each select="marc:datafield[@tag=508]"> >+ <xsl:call-template name="subfieldSelectSpan"> >+ <xsl:with-param name="codes">a</xsl:with-param> >+ </xsl:call-template> >+ </xsl:for-each> >+ </div> >+ </xsl:if> >+ > <!-- 586 --> > <xsl:if test="marc:datafield[@tag=586]"> > <xsl:for-each select="marc:datafield[@tag=586]"> >-- >1.7.10.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 13385
:
36785
|
37248
|
38070