Bugzilla – Attachment 36918 Details for
Bug 13433
655 display in XSLT
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
655 display in XSLT
0001-Added-655-display-to-OPAC-and-staff-full-views.patch (text/plain), 2.94 KB, created by
Winona Salesky
on 2015-03-16 01:20:12 UTC
(
hide
)
Description:
655 display in XSLT
Filename:
MIME Type:
Creator:
Winona Salesky
Created:
2015-03-16 01:20:12 UTC
Size:
2.94 KB
patch
obsolete
>From 8b12fc686aa2b209e04637f41ebbf4f12ce10874 Mon Sep 17 00:00:00 2001 >From: Winona Salesky <wsalesky@gmail.com> >Date: Sun, 15 Mar 2015 21:15:48 -0400 >Subject: [PATCH] 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 > > >--- > .../intranet-tmpl/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..9a08801 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..f70d086 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.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 13433
:
36918
|
37937
|
37986
|
37987
|
38102
|
38103