Bugzilla – Attachment 2301 Details for
Bug 4928
With multiple 76x-78x fields, the font display gets progressively smaller
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed fix to bug 4928
0001-Fix-for-bug-4928-problematic-78x-display-in-OPAC.patch (text/plain), 1.95 KB, created by
Jared Camins
on 2010-07-02 14:13:49 UTC
(
hide
)
Description:
Proposed fix to bug 4928
Filename:
MIME Type:
Creator:
Jared Camins
Created:
2010-07-02 14:13:49 UTC
Size:
1.95 KB
patch
obsolete
>From 7fb67b1efa97c4345c7b04989146adeb237cdaa7 Mon Sep 17 00:00:00 2001 >From: Jared CAMINS-ESAKOV <camins@numismatics.org> >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: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> >-- >1.7.0.4 >
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 4928
: 2301