Bugzilla – Attachment 2088 Details for
Bug 4422
XSLT display incorrect for analytics (articles)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed fix
0001-Show-article-icon-with-DisplayOPACiconsXSLT.patch (text/plain), 5.05 KB, created by
Chris Cormack
on 2010-04-28 18:44:00 UTC
(
hide
)
Description:
Proposed fix
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2010-04-28 18:44:00 UTC
Size:
5.05 KB
patch
obsolete
>From d349c83382ab9983bad0159dac08b33505d40040 Mon Sep 17 00:00:00 2001 >From: Jared CAMINS-ESAKOV <camins@numismatics.org> >Date: Fri, 9 Apr 2010 15:40:50 -0400 >Subject: [PATCH] Show article icon with DisplayOPACiconsXSLT >Content-Type: text/plain; charset="utf-8" > >Show article (open book) icon on results and details screen when DisplayOPACiconsXSLT is enabled. >--- > .../prog/en/xslt/MARC21slim2OPACDetail.xsl | 10 ++++++---- > .../prog/en/xslt/MARC21slim2OPACResults.xsl | 5 +++-- > koha-tmpl/opac-tmpl/prog/famfamfam/AR.png | Bin 0 -> 622 bytes > 3 files changed, 9 insertions(+), 6 deletions(-) > create mode 100644 koha-tmpl/opac-tmpl/prog/famfamfam/AR.png > >diff --git a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl b/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl >index 129911c..0e606e7 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl >+++ b/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl >@@ -27,8 +27,9 @@ > <xsl:choose> > <xsl:when test="$leader6='a'"> > <xsl:choose> >- <xsl:when test="$leader7='a' or $leader7='c' or $leader7='d' or $leader7='m'">BK</xsl:when> >- <xsl:when test="$leader7='b' or $leader7='i' or $leader7='s'">SE</xsl:when> >+ <xsl:when test="$leader7='c' or $leader7='d' or $leader7='m'">BK</xsl:when> >+ <xsl:when test="$leader7='i' or $leader7='s'">SE</xsl:when> >+ <xsl:when test="$leader7='a' or $leader7='b'">AR</xsl:when> > </xsl:choose> > </xsl:when> > <xsl:when test="$leader6='t'">BK</xsl:when> >@@ -44,8 +45,9 @@ > <xsl:choose> > <xsl:when test="$leader6='a'"> > <xsl:choose> >- <xsl:when test="$leader7='a' or $leader7='c' or $leader7='d' or $leader7='m'">Book</xsl:when> >- <xsl:when test="$leader7='b' or $leader7='i' or $leader7='s'">Continuing Resource</xsl:when> >+ <xsl:when test="$leader7='c' or $leader7='d' or $leader7='m'">Book</xsl:when> >+ <xsl:when test="$leader7='i' or $leader7='s'">Continuing Resource</xsl:when> >+ <xsl:when test="$leader7='a' or $leader7='b'">Article</xsl:when> > </xsl:choose> > </xsl:when> > <xsl:when test="$leader6='t'">Book</xsl:when> >diff --git a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACResults.xsl b/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACResults.xsl >index 1c3e827..6645b7e 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACResults.xsl >+++ b/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACResults.xsl >@@ -506,8 +506,9 @@ > <xsl:choose> > <xsl:when test="$leader6='a'"> > <xsl:choose> >- <xsl:when test="$leader7='a' or $leader7='c' or $leader7='d' or $leader7='m'"><img src="/opac-tmpl/prog/famfamfam/silk/book.png" alt="book" title="book"/> Book</xsl:when> >- <xsl:when test="$leader7='b' or $leader7='i' or $leader7='s'"><img src="/opac-tmpl/prog/famfamfam/silk/newspaper.png" alt="serial" title="serial"/> Continuing Resource</xsl:when> >+ <xsl:when test="$leader7='c' or $leader7='d' or $leader7='m'"><img src="/opac-tmpl/prog/famfamfam/silk/book.png" alt="book" title="book"/> Book</xsl:when> >+ <xsl:when test="$leader7='i' or $leader7='s'"><img src="/opac-tmpl/prog/famfamfam/silk/newspaper.png" alt="serial" title="serial"/> Continuing Resource</xsl:when> >+ <xsl:when test="$leader7='a' or $leader7='b'"><img src="/opac-tmpl/prog/famfamfam/silk/book_open.png" alt="article" title="article"/> Article</xsl:when> > </xsl:choose> > </xsl:when> > <xsl:when test="$leader6='t'"><img src="/opac-tmpl/prog/famfamfam/silk/book.png" alt="book" title="book"/> Book</xsl:when> >diff --git a/koha-tmpl/opac-tmpl/prog/famfamfam/AR.png b/koha-tmpl/opac-tmpl/prog/famfamfam/AR.png >new file mode 100644 >index 0000000000000000000000000000000000000000..7d863f949741ff83fd8373a77c0d95a3d95e441f >GIT binary patch >literal 622 >zcmV-!0+IcRP)<h;3K|Lk000e1NJLTq000mG000mO1^@s6AM^iV00004XF*Lt006JZ >zHwB960000PbVXQnQ*UN;cVTj606}DLVr3vnZDD6+Qe|Oed2z{QJOBU!07*naR5;6} >zQ_pJ?Q4pS$w@qAVekfW^Q_+&87>YeaZ-G+53gSTz{SPWVdFiPaPX+$~@n)fi9>qgJ >zh4fN-QcEhq^wI<|vImjml9)pF*W2zl+qWbTPaSyKyqWKt`DS)j3xa?yVgf%ewhl|m >zA$_0x^Rx4E@d&=>uRoSN*Cm&aL#`7&zr0;L(pKMn1G#$ZszFkMC^?B8f`0w&-UD$u >zd-(?iK6#!;xZ`>J^A9DGiTfguewDOKwDEK<mL;X6%J<*Yu-X+69xa&k<iYHS^wR1Z >zn$Yzsw*a}YdcDs7QDJF*p6*-`Hzy}kG&7Z@TCK*he!oxUa+w^*4qKUsW&i@rG))Gf >zSIe@<YPG0XERt;-9D~2t>oL}`ZE_M}0=xvsgf$usmJeV$oo28d0#yu!pdgpag$giC >zhlKP!CMX3wsPMGgZ5n>Xg+hV--ENofAcH61#0B7Hvl-7Il}g2A6;lfG`FxbX8A>p$ >z0P;GW4il9Mr9jO9)xB^Rgy%*CSTdQ6D;kDDnM{U{5Q21FA4#ZM71$_Dba8z<-Y_Na >zS@|v#c0PZNDux9AoXD-ZoWP~q)7QrC`G<o;20dP08XMo;{X}9g7*MPCZ)C@nf*VuU >zxl(0sf2;zmy!OAZ(OlWwK0WO}#Ezsh*^}n`SIgsY+C@L-GloW+?l6nAU;qFB07*qo >IM6N<$f=tvEoB#j- > >literal 0 >HcmV?d00001 > >-- >1.7.0.4 >
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 4422
: 2088