Bugzilla – Attachment 14521 Details for
Bug 9356
Show Dissertation note (MARC21 502) in XSLT
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 9356: Follow-up - fix capitalization in MARC21 XSLT detail pages
Bug-9356-Follow-up---fix-capitalization-in-MARC21-.patch (text/plain), 9.15 KB, created by
Nicole C. Engard
on 2013-01-10 14:22:57 UTC
(
hide
)
Description:
Bug 9356: Follow-up - fix capitalization in MARC21 XSLT detail pages
Filename:
MIME Type:
Creator:
Nicole C. Engard
Created:
2013-01-10 14:22:57 UTC
Size:
9.15 KB
patch
obsolete
>From 97f214ef95c26886df8d6d4d5bcec27cc9d582a9 Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <katrin.fischer@bsz-bw.de> >Date: Tue, 8 Jan 2013 10:44:11 +0100 >Subject: [PATCH] Bug 9356: Follow-up - fix capitalization in MARC21 XSLT detail pages > >Fixes spelling to follow capitalization rules in OPAC and intranet MARC21 >detail pages. > >Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com> >--- > .../prog/en/xslt/MARC21slim2intranetDetail.xsl | 20 ++++++++++---------- > .../prog/en/xslt/MARC21slim2OPACDetail.xsl | 16 ++++++++-------- > 2 files changed, 18 insertions(+), 18 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >index 2e7bdc8..2c5216c 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >+++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >@@ -69,7 +69,7 @@ > <xsl:when test="$leader7='c' or $leader7='d' or $leader7='m'">Book</xsl:when> > <xsl:when test="$leader7='i' or $leader7='s'"> > <xsl:choose> >- <xsl:when test="substring($controlField008,22,1)!='m'">Continuing Resource</xsl:when> >+ <xsl:when test="substring($controlField008,22,1)!='m'">Continuing resource</xsl:when> > <xsl:otherwise>Series</xsl:otherwise> > </xsl:choose> > </xsl:when> >@@ -78,10 +78,10 @@ > </xsl:when> > <xsl:when test="$leader6='t'">Book</xsl:when> > <xsl:when test="$leader6='o'">Kit</xsl:when> >- <xsl:when test="$leader6='p'">Mixed Materials</xsl:when> >- <xsl:when test="$leader6='m'">Computer File</xsl:when> >+ <xsl:when test="$leader6='p'">Mixed materials</xsl:when> >+ <xsl:when test="$leader6='m'">Computer file</xsl:when> > <xsl:when test="$leader6='e' or $leader6='f'">Map</xsl:when> >- <xsl:when test="$leader6='g' or $leader6='k' or $leader6='r'">Visual Material</xsl:when> >+ <xsl:when test="$leader6='g' or $leader6='k' or $leader6='r'">Visual material</xsl:when> > <xsl:when test="$leader6='j'">Music</xsl:when> > <xsl:when test="$leader6='i'">Sound</xsl:when> > <xsl:when test="$leader6='c' or $leader6='d'">Score</xsl:when> >@@ -401,12 +401,12 @@ > <xsl:with-param name="basetags">246</xsl:with-param> > <xsl:with-param name="codes">abhfgnp</xsl:with-param> > <xsl:with-param name="class">results_summary other_title</xsl:with-param> >- <xsl:with-param name="label">Other Title: </xsl:with-param> >+ <xsl:with-param name="label">Other title: </xsl:with-param> > </xsl:call-template> > </xsl:if> > > <xsl:if test="marc:datafield[@tag=246]"> >- <span class="results_summary other_title"><span class="label">Other Title: </span> >+ <span class="results_summary other_title"><span class="label">Other title: </span> > <xsl:for-each select="marc:datafield[@tag=246]"> > <xsl:call-template name="chopPunctuation"> > <xsl:with-param name="chopString"> >@@ -441,7 +441,7 @@ > <xsl:with-param name="basetags">130,240</xsl:with-param> > <xsl:with-param name="codes">adfklmor</xsl:with-param> > <xsl:with-param name="class">results_summary uniform_title</xsl:with-param> >- <xsl:with-param name="label">Uniform Title: </xsl:with-param> >+ <xsl:with-param name="label">Uniform title: </xsl:with-param> > </xsl:call-template> > </xsl:if> > >@@ -508,7 +508,7 @@ > </xsl:if> > > <xsl:if test="marc:datafield[@tag=856]"> >- <span class="results_summary online_resources"><span class="label">Online Resources: </span> >+ <span class="results_summary online_resources"><span class="label">Online resources: </span> > <xsl:for-each select="marc:datafield[@tag=856]"> > <xsl:variable name="SubqText"><xsl:value-of select="marc:subfield[@code='q']"/></xsl:variable> > <a><xsl:attribute name="href"><xsl:value-of select="marc:subfield[@code='u']"/></xsl:attribute> >@@ -637,7 +637,7 @@ > > <!-- 866 textual holdings --> > <xsl:if test="marc:datafield[@tag=866]"> >- <span class="results_summary holdings_note"><span class="label">Holdings Note: </span> >+ <span class="results_summary holdings_note"><span class="label">Holdings note: </span> > <xsl:for-each select="marc:datafield[@tag=866]"> > <xsl:call-template name="subfieldSelect"> > <xsl:with-param name="codes">axz</xsl:with-param> >@@ -649,7 +649,7 @@ > > <!-- 775 Other Edition --> > <xsl:if test="marc:datafield[@tag=775]"> >- <span class="results_summary other_editions"><span class="label">Other Editions: </span> >+ <span class="results_summary other_editions"><span class="label">Other editions: </span> > <xsl:for-each select="marc:datafield[@tag=775]"> > <xsl:variable name="f775"> > <xsl:call-template name="chopPunctuation"><xsl:with-param name="chopString"><xsl:call-template name="subfieldSelect"> >diff --git a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl b/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl >index 84a27dc..0a10316 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl >+++ b/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl >@@ -79,10 +79,10 @@ > </xsl:when> > <xsl:when test="$leader6='t'">Book</xsl:when> > <xsl:when test="$leader6='o'">Kit</xsl:when> >- <xsl:when test="$leader6='p'">Mixed Materials</xsl:when> >- <xsl:when test="$leader6='m'">Computer File</xsl:when> >+ <xsl:when test="$leader6='p'">Mixed materials</xsl:when> >+ <xsl:when test="$leader6='m'">Computer file</xsl:when> > <xsl:when test="$leader6='e' or $leader6='f'">Map</xsl:when> >- <xsl:when test="$leader6='g' or $leader6='k' or $leader6='r'">Visual Material</xsl:when> >+ <xsl:when test="$leader6='g' or $leader6='k' or $leader6='r'">Visual material</xsl:when> > <xsl:when test="$leader6='j'">Music</xsl:when> > <xsl:when test="$leader6='i'">Sound</xsl:when> > <xsl:when test="$leader6='c' or $leader6='d'">Score</xsl:when> >@@ -407,12 +407,12 @@ > <xsl:with-param name="basetags">246</xsl:with-param> > <xsl:with-param name="codes">abhfgnp</xsl:with-param> > <xsl:with-param name="class">results_summary other_title</xsl:with-param> >- <xsl:with-param name="label">Other Title: </xsl:with-param> >+ <xsl:with-param name="label">Other title: </xsl:with-param> > </xsl:call-template> > </xsl:if> > > <xsl:if test="marc:datafield[@tag=246]"> >- <span class="results_summary other_title"><span class="label">Other Title: </span> >+ <span class="results_summary other_title"><span class="label">Other title: </span> > <xsl:for-each select="marc:datafield[@tag=246]"> > <xsl:call-template name="chopPunctuation"> > <xsl:with-param name="chopString"> >@@ -522,7 +522,7 @@ > > <!-- Image processing code added here, takes precedence over text links including y3z text --> > <xsl:if test="marc:datafield[@tag=856]"> >- <span class="results_summary online_resources"><span class="label">Online Resources: </span> >+ <span class="results_summary online_resources"><span class="label">Online resources: </span> > <xsl:for-each select="marc:datafield[@tag=856]"> > <xsl:variable name="SubqText"><xsl:value-of select="marc:subfield[@code='q']"/></xsl:variable> > <a><xsl:attribute name="href"><xsl:value-of select="marc:subfield[@code='u']"/></xsl:attribute> >@@ -732,7 +732,7 @@ > > <!-- 866 textual holdings --> > <xsl:if test="marc:datafield[@tag=866]"> >- <span class="results_summary holdings_note"><span class="label">Holdings Note: </span> >+ <span class="results_summary holdings_note"><span class="label">Holdings note: </span> > <xsl:for-each select="marc:datafield[@tag=866]"> > <xsl:call-template name="subfieldSelect"> > <xsl:with-param name="codes">az</xsl:with-param> >@@ -744,7 +744,7 @@ > > <!-- 775 Other Edition --> > <xsl:if test="marc:datafield[@tag=775]"> >- <span class="results_summary other_editions"><span class="label">Other Editions: </span> >+ <span class="results_summary other_editions"><span class="label">Other editions: </span> > <xsl:for-each select="marc:datafield[@tag=775]"> > <xsl:variable name="f775"> > <xsl:call-template name="chopPunctuation"><xsl:with-param name="chopString"><xsl:call-template name="subfieldSelect"> >-- >1.7.2.3
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 9356
:
14457
|
14458
|
14521
|
14522
|
14523
|
15610
|
15611
|
15612