Bugzilla – Attachment 5543 Details for
Bug 6900
In XSLT, OPAC display of availability needs a line break when both loan and not-for-loan items present
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 6900 - line break between available and reference items
Bug-6900---line-break-between-available-and-refere.patch (text/plain), 1.50 KB, created by
Liz Rea
on 2011-09-22 15:35:03 UTC
(
hide
)
Description:
Bug 6900 - line break between available and reference items
Filename:
MIME Type:
Creator:
Liz Rea
Created:
2011-09-22 15:35:03 UTC
Size:
1.50 KB
patch
obsolete
>From 65e65d7c37e052e6fa8253001f47c497e22e6fd3 Mon Sep 17 00:00:00 2001 >From: D Ruth Bavousett <ruth@bywatersolutions.com> >Date: Wed, 21 Sep 2011 08:50:19 -0700 >Subject: [PATCH] Bug 6900 - line break between available and reference items >Content-Type: text/plain; charset="utf-8" > >This patch adds a conditional line-break in the availability section of XSLT results. > >Signed off-by: Jared Camins-Esakov <jcamins@cpbibliography.com> >Signed-off-by: Ian Walls <ian.walls@bywatersolutions.com> >Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz> >--- > .../prog/en/xslt/MARC21slim2OPACResults.xsl | 6 ++++++ > 1 files changed, 6 insertions(+), 0 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACResults.xsl b/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACResults.xsl >index 3076af5..9c6c307 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACResults.xsl >+++ b/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACResults.xsl >@@ -999,6 +999,12 @@ > </xsl:when> > </xsl:choose> > >+ <xsl:choose> <xsl:when test="count(key('item-by-status', 'available'))>0"> >+ <xsl:choose><xsl:when test="count(key('item-by-status', 'reference'))>0"> >+ <br/> >+ </xsl:when></xsl:choose> >+ </xsl:when> </xsl:choose> >+ > <xsl:choose> > <xsl:when test="count(key('item-by-status', 'reference'))>0"> > <span class="available"> >-- >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 6900
:
5513
|
5514
|
5543