Bugzilla – Attachment 38088 Details for
Bug 13434
586 XSLT improvements
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PASSED QA] Bug 13434 - Updated display for 586 in XSLT
PASSED-QA-Bug-13434---Updated-display-for-586-in-X.patch (text/plain), 2.87 KB, created by
Kyle M Hall (khall)
on 2015-04-17 15:23:19 UTC
(
hide
)
Description:
[PASSED QA] Bug 13434 - Updated display for 586 in XSLT
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2015-04-17 15:23:19 UTC
Size:
2.87 KB
patch
obsolete
>From a36b1bbdc1f901317b5efdd8aa13e7daed64bac4 Mon Sep 17 00:00:00 2001 >From: Winona Salesky <wsalesky@gmail.com> >Date: Tue, 10 Mar 2015 23:01:38 -0400 >Subject: [PATCH] [PASSED QA] Bug 13434 - Updated display for 586 in XSLT > >http://bugs.koha-community.org/show_bug.cgi?id=13434 >Signed-off-by: Nick Clemens <nick@quecheelibrary.org> > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > .../prog/en/xslt/MARC21slim2intranetDetail.xsl | 13 +++++++++++++ > .../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..5613fd9 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..11a6582 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.7.2.5
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