Bugzilla – Attachment 5513 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]
proposed patch
0001-Bug-6900-line-break-between-available-and-reference-.patch (text/plain), 1.29 KB, created by
D Ruth Holloway
on 2011-09-21 15:53:21 UTC
(
hide
)
Description:
proposed patch
Filename:
MIME Type:
Creator:
D Ruth Holloway
Created:
2011-09-21 15:53:21 UTC
Size:
1.29 KB
patch
obsolete
>From 3853d1294618c973ee983917a2f908f1298f2653 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 > >This patch adds a conditional line-break in the availability section of XSLT results. >--- > .../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