[Koha-patches] [PATCH] Bug 6900 - line break between available and reference items
Jared Camins-Esakov
jcamins at cpbibliography.com
Wed Sep 21 18:14:15 CEST 2011
From: D Ruth Bavousett <ruth at bywatersolutions.com>
This patch adds a conditional line-break in the availability section of XSLT results.
Signed-off-by: Jared Camins-Esakov <jcamins at cpbibliography.com>
---
.../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
More information about the Koha-patches
mailing list