Fix for bug 4928, problematic 78x display in OPAC

- 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

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
This commit is contained in:
Jared CAMINS-ESAKOV 2010-07-02 10:05:45 -04:00 committed by Galen Charlton
parent d3993f44ee
commit a4e4065da7
1 changed files with 10 additions and 1 deletions

View File

@ -518,7 +518,9 @@
</a>
</span>
<xsl:if test="marc:subfield[@code='n']">
<span class="results_summary"><xsl:value-of select="marc:subfield[@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:subfield[@code='n']"/></span>
<xsl:if test="marc:subfield[@code='n']">
<span class="results_summary"><xsl:value-of select="marc:subfield[@code='n']"/></span>
</xsl:if>
</xsl:if>
</xsl:for-each>
@ -644,6 +648,11 @@
</a>
</span>
<xsl:if test="marc:subfield[@code='n']">
<span class="results_summary"><xsl:value-of select="marc:subfield[@code='n']"/></span>
</xsl:if>
</xsl:if>
</xsl:for-each>
</xsl:if>