Bugzilla – Attachment 43949 Details for
Bug 11881
Small improvements in OPAC results list
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PASSED QA] Bug 11881 - Small improvements for Items available for reference
PASSED-QA-Bug-11881---Small-improvements-for-Items.patch (text/plain), 3.20 KB, created by
Katrin Fischer
on 2015-10-25 10:57:51 UTC
(
hide
)
Description:
[PASSED QA] Bug 11881 - Small improvements for Items available for reference
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2015-10-25 10:57:51 UTC
Size:
3.20 KB
patch
obsolete
>From 3f7a55f6aeefb871b6e3051bf6e120e905816ac3 Mon Sep 17 00:00:00 2001 >From: genevieve <genevieve.plantin@inlibro.com> >Date: Fri, 11 Sep 2015 14:54:14 -0400 >Subject: [PATCH] [PASSED QA] Bug 11881 - Small improvements for Items > available for reference > >As said on comment #31, Items available for reference weren't displayed like Items avaible for loan. Now, they are, I wrapped them in CommasWithLinebreaks class and LabelCallNumber class > >Signed-off-by: Nick Clemens <nick@quecheelibrary.org> > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > .../bootstrap/en/xslt/MARC21slim2OPACResults.xsl | 18 ++++++++++-------- > 1 file changed, 10 insertions(+), 8 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl >index 3b5e7f3..ac0d6d7 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl >@@ -1154,14 +1154,16 @@ > <b><xsl:text>Items available for reference: </xsl:text></b> > <xsl:variable name="reference_items" select="key('item-by-status', 'reference')"/> > <xsl:for-each select="$reference_items[generate-id() = generate-id(key('item-by-status-and-branch', concat(items:status, ' ', items:homebranch))[1])]"> >- <xsl:if test="$singleBranchMode=0"> >- <xsl:value-of select="items:homebranch"/> >- </xsl:if> >- <xsl:if test="items:itemcallnumber != '' and items:itemcallnumber"> [<xsl:value-of select="items:itemcallnumber"/>]</xsl:if> >- <xsl:text> (</xsl:text> >- <xsl:value-of select="count(key('item-by-status-and-branch', concat(items:status, ' ', items:homebranch)))"/> >- <xsl:text> )</xsl:text> >- <xsl:choose><xsl:when test="position()=last()"><xsl:text>. </xsl:text></xsl:when><xsl:otherwise><xsl:text>, </xsl:text></xsl:otherwise></xsl:choose> >+ <span class="CommasWithLinebreaks"> >+ <xsl:if test="$singleBranchMode=0"> >+ <xsl:value-of select="items:homebranch"/> >+ </xsl:if> >+ <xsl:if test="items:itemcallnumber != '' and items:itemcallnumber"> [<span class="LabelCallNumber">Call number: </span><xsl:value-of select="items:itemcallnumber"/>]</xsl:if> >+ <xsl:text> (</xsl:text> >+ <xsl:value-of select="count(key('item-by-status-and-branch', concat(items:status, ' ', items:homebranch)))"/> >+ <xsl:text>)</xsl:text> >+ <xsl:choose><xsl:when test="position()=last()"><xsl:text>. </xsl:text></xsl:when><xsl:otherwise><xsl:text>, </xsl:text></xsl:otherwise></xsl:choose> >+ </span> > </xsl:for-each> > </span> > </xsl:when> >-- >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 11881
:
25747
|
25921
|
29681
|
29682
|
29873
|
29874
|
29875
|
34004
|
36470
|
36496
|
36510
|
42487
|
42488
|
42489
|
42490
|
42807
|
42808
|
43946
|
43947
|
43948
| 43949 |
43950