Bugzilla – Attachment 14683 Details for
Bug 9403
Material type icons not showing for XSLT default view in intranet
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 9403: Follow-up: Move "Type" in XSLT result list to match OPAC result list
Bug-9403-Follow-up-Move-Type-in-XSLT-result-list-t.patch (text/plain), 6.27 KB, created by
Katrin Fischer
on 2013-01-17 17:43:03 UTC
(
hide
)
Description:
Bug 9403: Follow-up: Move "Type" in XSLT result list to match OPAC result list
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2013-01-17 17:43:03 UTC
Size:
6.27 KB
patch
obsolete
>From c0d71826c5a302c825295276deedcf385274029c Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <katrin.fischer@bsz-bw.de> >Date: Thu, 17 Jan 2013 18:33:53 +0100 >Subject: [PATCH] Bug 9403: Follow-up: Move "Type" in XSLT result list to match OPAC result list > >Moves the line starting with "Type:" upwards to show below the author line >like it is in the OPAC XSLT result list. > >To test: >1) Make sure XSLTResultsDisplay and DisplayIconsXSLT are turned on. >2) Check that the line starting with "Type" is showing up below the title and 'by' lines. >--- > .../prog/en/xslt/MARC21slim2intranetResults.xsl | 112 ++++++++++---------- > 1 files changed, 56 insertions(+), 56 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl >index eb24665..e014c82 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl >+++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl >@@ -392,62 +392,6 @@ > </xsl:when> > </xsl:choose> > >- <xsl:if test="marc:datafield[@tag=300]"> >- <span class="results_summary description"><span class="label">Description: </span> >- <xsl:for-each select="marc:datafield[@tag=300]"> >- <xsl:call-template name="chopPunctuation"> >- <xsl:with-param name="chopString"> >- <xsl:call-template name="subfieldSelect"> >- <xsl:with-param name="codes">abceg</xsl:with-param> >- </xsl:call-template> >- </xsl:with-param> >- </xsl:call-template> >- <xsl:choose><xsl:when test="position()=last()"><xsl:text>.</xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose> >- </xsl:for-each> >- </span> >- </xsl:if> >- >- <xsl:if test="marc:datafield[@tag=020]"> >- <span class="results_summary isbn"><span class="label">ISBN: </span> >- <xsl:for-each select="marc:datafield[@tag=020]"> >- <xsl:variable name="isbn" select="marc:subfield[@code='a']"/> >- <xsl:value-of select="marc:subfield[@code='a']"/> >- <xsl:choose><xsl:when test="position()=last()"><xsl:text>.</xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose> >- </xsl:for-each> >- </span> >- </xsl:if> >- >- <xsl:if test="marc:datafield[@tag=022]"> >- <span class="results_summary issn"><span class="label">ISSN: </span> >- <xsl:for-each select="marc:datafield[@tag=022]"> >- <xsl:value-of select="marc:subfield[@code='a']"/> >- <xsl:choose><xsl:when test="position()=last()"><xsl:text>.</xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose> >- </xsl:for-each> >- </span> >- </xsl:if> >- >- <xsl:if test="marc:datafield[@tag=250]"> >- <span class="results_summary"> >- <span class="label">Edition: </span> >- <xsl:for-each select="marc:datafield[@tag=250]"> >- <xsl:call-template name="subfieldSelect"> >- <xsl:with-param name="codes">ab</xsl:with-param> >- </xsl:call-template> >- </xsl:for-each> >- </span> >- </xsl:if> >- >- <xsl:if test="marc:datafield[@tag=773]"> >- <xsl:for-each select="marc:datafield[@tag=773]"> >- <xsl:if test="marc:subfield[@code='t']"> >- <span class="results_summary"> >- <span class="label">Source: </span> >- <xsl:value-of select="marc:subfield[@code='t']"/> >- </span> >- </xsl:if> >- </xsl:for-each> >- </xsl:if> >- > <xsl:if test="$DisplayIconsXSLT!='0'"> > <span class="results_summary"> > <xsl:if test="$typeOf008!=''"> >@@ -809,6 +753,62 @@ > </xsl:for-each> > </span> > </xsl:if> >+ >+ <xsl:if test="marc:datafield[@tag=300]"> >+ <span class="results_summary description"><span class="label">Description: </span> >+ <xsl:for-each select="marc:datafield[@tag=300]"> >+ <xsl:call-template name="chopPunctuation"> >+ <xsl:with-param name="chopString"> >+ <xsl:call-template name="subfieldSelect"> >+ <xsl:with-param name="codes">abceg</xsl:with-param> >+ </xsl:call-template> >+ </xsl:with-param> >+ </xsl:call-template> >+ <xsl:choose><xsl:when test="position()=last()"><xsl:text>.</xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose> >+ </xsl:for-each> >+ </span> >+ </xsl:if> >+ >+ <xsl:if test="marc:datafield[@tag=020]"> >+ <span class="results_summary isbn"><span class="label">ISBN: </span> >+ <xsl:for-each select="marc:datafield[@tag=020]"> >+ <xsl:variable name="isbn" select="marc:subfield[@code='a']"/> >+ <xsl:value-of select="marc:subfield[@code='a']"/> >+ <xsl:choose><xsl:when test="position()=last()"><xsl:text>.</xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose> >+ </xsl:for-each> >+ </span> >+ </xsl:if> >+ >+ <xsl:if test="marc:datafield[@tag=022]"> >+ <span class="results_summary issn"><span class="label">ISSN: </span> >+ <xsl:for-each select="marc:datafield[@tag=022]"> >+ <xsl:value-of select="marc:subfield[@code='a']"/> >+ <xsl:choose><xsl:when test="position()=last()"><xsl:text>.</xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose> >+ </xsl:for-each> >+ </span> >+ </xsl:if> >+ >+ <xsl:if test="marc:datafield[@tag=250]"> >+ <span class="results_summary"> >+ <span class="label">Edition: </span> >+ <xsl:for-each select="marc:datafield[@tag=250]"> >+ <xsl:call-template name="subfieldSelect"> >+ <xsl:with-param name="codes">ab</xsl:with-param> >+ </xsl:call-template> >+ </xsl:for-each> >+ </span> >+ </xsl:if> >+ >+ <xsl:if test="marc:datafield[@tag=773]"> >+ <xsl:for-each select="marc:datafield[@tag=773]"> >+ <xsl:if test="marc:subfield[@code='t']"> >+ <span class="results_summary"> >+ <span class="label">Source: </span> >+ <xsl:value-of select="marc:subfield[@code='t']"/> >+ </span> >+ </xsl:if> >+ </xsl:for-each> >+ </xsl:if> > > <!-- Other Title Statement: Alternate Graphic Representation (MARC 880) --> > <xsl:if test="$display880"> >-- >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 9403
:
14682
|
14683
|
15150
|
15171
|
16663
|
16664
|
16665