Bugzilla – Attachment 38102 Details for
Bug 13433
655 display in XSLT
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PASSED QA] Bug 13433 - Added 655 display to OPAC and staff full views.
PASSED-QA-Bug-13433---Added-655-display-to-OPAC-an.patch (text/plain), 3.08 KB, created by
Kyle M Hall (khall)
on 2015-04-17 17:28:19 UTC
(
hide
)
Description:
[PASSED QA] Bug 13433 - Added 655 display to OPAC and staff full views.
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2015-04-17 17:28:19 UTC
Size:
3.08 KB
patch
obsolete
>From 2c49330a6fb6a7032ea4ef5ba0407fc181b46b7b Mon Sep 17 00:00:00 2001 >From: Winona Salesky <wsalesky@gmail.com> >Date: Sun, 15 Mar 2015 21:15:48 -0400 >Subject: [PATCH] [PASSED QA] Bug 13433 - Added 655 display to OPAC and staff full views. > >This patch field 655 to the full displays in the staff and OPAC views. Multiple 655 fields are separated with a span class=separator | . > >To test: > >* Search the opac for records with genre/field 655 >* Click the title >* Make sure the fields display properly >* Repeat for a few more titles >* Repeat in the Staff Client > >http://bugs.koha-community.org/show_bug.cgi?id=13433 >Signed-off-by: Nick Clemens <nick@quecheelibrary.org> > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > .../prog/en/xslt/MARC21slim2intranetDetail.xsl | 12 ++++++++++++ > .../bootstrap/en/xslt/MARC21slim2OPACDetail.xsl | 12 ++++++++++++ > 2 files changed, 24 insertions(+), 0 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..9ff58e1 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >+++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >@@ -565,6 +565,18 @@ > </span> > </xsl:if> > >+ <!-- Genre/Form --> >+ <xsl:if test="marc:datafield[@tag=655]"> >+ <span class="results_summary genre"><span class="label">Genre/Form: </span> >+ <xsl:for-each select="marc:datafield[@tag=655]"> >+ <xsl:call-template name="subfieldSelect"> >+ <xsl:with-param name="codes">avxyz</xsl:with-param> >+ </xsl:call-template> >+ <xsl:if test="position()!=last()"><span class="separator"> | </span></xsl:if> >+ </xsl:for-each> >+ </span> >+ </xsl:if> >+ > <!-- DDC classification --> > <xsl:if test="marc:datafield[@tag=082]"> > <span class="results_summary ddc"> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl >index 11624c4..bfaeb1b 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl >@@ -625,6 +625,18 @@ > </span> > </xsl:if> > >+ <!-- Genre/Form --> >+ <xsl:if test="marc:datafield[@tag=655]"> >+ <span class="results_summary genre"><span class="label">Genre/Form: </span> >+ <xsl:for-each select="marc:datafield[@tag=655]"> >+ <xsl:call-template name="subfieldSelect"> >+ <xsl:with-param name="codes">avxyz</xsl:with-param> >+ </xsl:call-template> >+ <xsl:if test="position()!=last()"><span class="separator"> | </span></xsl:if> >+ </xsl:for-each> >+ </span> >+ </xsl:if> >+ > <!-- DDC classification --> > <xsl:if test="marc:datafield[@tag=082]"> > <span class="results_summary ddc"> >-- >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 13433
:
36918
|
37937
|
37986
|
37987
| 38102 |
38103