Trying again, this time with the patch attached instead of inline. Sorry about the deluge of non-working patches.

Regards,
Jared

--
Jared Camins-Esakov
Assistant Librarian - American Numismatic Society
75 Varick Street, 11th Floor
New York, NY  10013
Tel: (212) 571-4470, ext. 171
[email protected]
http://www.numismatics.org/Library/Library

>From 7fb67b1efa97c4345c7b04989146adeb237cdaa7 Mon Sep 17 00:00:00 2001
From: Jared CAMINS-ESAKOV <[email protected]>
Date: Fri, 2 Jul 2010 10:05:45 -0400
Subject: [PATCH] Fix for bug 4928, problematic 78x display in OPAC
Content-Type: text/plain; charset="utf-8"

- Add <xsl:if> wrappers around the display of subfield 'n' for 76x-78x fields
  This eliminates the issue in Firefox that caused the font size to grow
  progressively smaller on the OPAC Details page for records with multiple
  76x-78x fields
---
 .../prog/en/xslt/MARC21slim2OPACDetail.xsl         |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)
 mode change 100644 => 100755 
koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl

diff --git a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl 
b/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl
old mode 100644
new mode 100755
index 1f8e897..73748fa
--- a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl
+++ b/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl
@@ -518,7 +518,9 @@
             </a>
         </span>
 
+        <xsl:if test="marc:subfie...@code='n']">
             <span class="results_summary"><xsl:value-of 
select="marc:subfie...@code='n']"/></span>
+        </xsl:if>
 
         </xsl:if>
         </xsl:for-each>
@@ -592,7 +594,9 @@
             </a>
         </span>
 
-        <span class="results_summary"><xsl:value-of 
select="marc:subfie...@code='n']"/></span>
+        <xsl:if test="marc:subfie...@code='n']">
+            <span class="results_summary"><xsl:value-of 
select="marc:subfie...@code='n']"/></span>
+        </xsl:if>
 
         </xsl:if>
         </xsl:for-each>
@@ -644,6 +648,11 @@
             </a>
 
         </span>
+
+        <xsl:if test="marc:subfie...@code='n']">
+            <span class="results_summary"><xsl:value-of 
select="marc:subfie...@code='n']"/></span>
+        </xsl:if>
+
         </xsl:if>
         </xsl:for-each>
         </xsl:if>
-- 
1.7.0.4

_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-patches

Reply via email to