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