Bugzilla – Attachment 37986 Details for
Bug 13433
655 display in XSLT
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED OFF] Added 655 display to OPAC and staff full views.
SIGNED-OFF-Added-655-display-to-OPAC-and-staff-ful.patch (text/plain), 3.02 KB, created by
Nick Clemens (kidclamp)
on 2015-04-16 19:23:43 UTC
(
hide
)
Description:
[SIGNED OFF] Added 655 display to OPAC and staff full views.
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2015-04-16 19:23:43 UTC
Size:
3.02 KB
patch
obsolete
>From 3adfafacaca6fa5a87d600ba728054ed7c5ba6c7 Mon Sep 17 00:00:00 2001 >From: Winona Salesky <wsalesky@gmail.com> >Date: Sun, 15 Mar 2015 21:15:48 -0400 >Subject: [PATCH] [SIGNED OFF] 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> >--- > .../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..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.9.1
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