Bugzilla – Attachment 36806 Details for
Bug 13434
586 XSLT improvements
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 13434 - RDA: 586 field changes in XSLT
0001-Updated-display-for-586-in-XSLT.patch (text/plain), 2.74 KB, created by
Winona Salesky
on 2015-03-11 14:52:05 UTC
(
hide
)
Description:
Bug 13434 - RDA: 586 field changes in XSLT
Filename:
MIME Type:
Creator:
Winona Salesky
Created:
2015-03-11 14:52:05 UTC
Size:
2.74 KB
patch
obsolete
>From 0184126139d21fffe280e714d7f5d6413bd7d7c5 Mon Sep 17 00:00:00 2001 >From: Winona Salesky <wsalesky@gmail.com> >Date: Tue, 10 Mar 2015 23:01:38 -0400 >Subject: [PATCH] Updated display for 586 in XSLT > >--- > .../prog/en/xslt/MARC21slim2intranetDetail.xsl | 13 +++++++++++++ > .../opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl | 11 ++++++----- > 2 files changed, 19 insertions(+), 5 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..ab3cf44 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >+++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >@@ -647,6 +647,19 @@ > </div> > </xsl:if> > >+ <!-- 586 --> >+ <xsl:if test="marc:datafield[@tag=586]"> >+ <span class="results_summary awardsnote"> >+ <xsl:if test="marc:datafield[@tag=586]/@ind1=' '"> >+ <span class="label">Awards: </span> >+ </xsl:if> >+ <xsl:for-each select="marc:datafield[@tag=586]"> >+ <xsl:value-of select="marc:subfield[@code='a']"/> >+ <xsl:if test="position()!=last()"><span class="separator"><xsl:text> | </xsl:text></span></xsl:if> >+ </xsl:for-each> >+ </span> >+ </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..539fd39 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl >@@ -763,14 +763,15 @@ > > <!-- 586 --> > <xsl:if test="marc:datafield[@tag=586]"> >- <xsl:for-each select="marc:datafield[@tag=586]"> > <span class="results_summary awardsnote"> >- <xsl:if test="@ind1=' '"> >- <span class="label">Awards: </span> >+ <xsl:if test="marc:datafield[@tag=586]/@ind1=' '"> >+ <span class="label">Awards: </span> > </xsl:if> >- <xsl:value-of select="marc:subfield[@code='a']"/> >+ <xsl:for-each select="marc:datafield[@tag=586]"> >+ <xsl:value-of select="marc:subfield[@code='a']"/> >+ <xsl:if test="position()!=last()"><span class="separator"><xsl:text> | </xsl:text></span></xsl:if> >+ </xsl:for-each> > </span> >- </xsl:for-each> > </xsl:if> > > <!-- 773 --> >-- >1.9.5 (Apple Git-50.3) >
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 13434
:
36806
|
37592
|
38086
|
38088