Bugzilla – Attachment 29681 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]
Small improvements for the availability informations in the search results list on the OPAC.
Small-improvements-for-the-availability-informatio.patch (text/plain), 3.64 KB, created by
Mark Tompsett
on 2014-07-14 15:27:35 UTC
(
hide
)
Description:
Small improvements for the availability informations in the search results list on the OPAC.
Filename:
MIME Type:
Creator:
Mark Tompsett
Created:
2014-07-14 15:27:35 UTC
Size:
3.64 KB
patch
obsolete
>From 5fd4e584c8fccc7f2270ccae4d6e2b65a4082532 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Fr=C3=A9d=C3=A9rick?= <frederick.capovilla@libeo.com> >Date: Fri, 28 Feb 2014 16:49:36 -0500 >Subject: [PATCH] Small improvements for the availability informations in the > search results list on the OPAC. > >* Add linebreaks to each location via CSS spans. >* Add the text "Call number:" before call numbers hidden by default. > >http://bugs.koha-community.org/show_bug.cgi?id=11881 >--- > .../prog/en/xslt/MARC21slim2OPACResults.xsl | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACResults.xsl b/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACResults.xsl >index 6b314d1..7b22fcf 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACResults.xsl >+++ b/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACResults.xsl >@@ -1053,21 +1053,21 @@ > <xsl:choose> > <xsl:when test="$singleBranchMode=1"> > <xsl:for-each select="$available_items[generate-id() = generate-id(key('item-by-status-and-branch', concat(items:status, ' ', items:homebranch))[1])]"> >- <xsl:if test="items:itemcallnumber != '' and items:itemcallnumber"> [<xsl:value-of select="items:itemcallnumber"/>]</xsl:if> >+ <span class="CommasWithLinebreaks"><xsl:if test="items:itemcallnumber != '' and items:itemcallnumber"> [<span class="LabelCallNumber"><xsl:text>Call number: </xsl:text></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> >+ <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> > </xsl:when> > <xsl:otherwise> > <xsl:for-each select="$available_items[generate-id() = generate-id(key('item-by-status-and-branch', concat(items:status, ' ', items:homebranch))[1])]"> > <xsl:value-of select="items:homebranch"/> >- <xsl:if test="items:itemcallnumber != '' and items:itemcallnumber and $OPACItemLocation='callnum'"> [<xsl:value-of select="items:itemcallnumber"/>]</xsl:if> >+ <span class="CommasWithLinebreaks"><xsl:if test="items:itemcallnumber != '' and items:itemcallnumber and $OPACItemLocation='callnum'"> [<span class="LabelCallNumber"><xsl:text>Call Number: </xsl:text></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> >+ <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> > </xsl:otherwise> > </xsl:choose> >-- >1.7.9.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 11881
:
25747
|
25921
|
29681
|
29682
|
29873
|
29874
|
29875
|
34004
|
36470
|
36496
|
36510
|
42487
|
42488
|
42489
|
42490
|
42807
|
42808
|
43946
|
43947
|
43948
|
43949
|
43950