Bugzilla – Attachment 26825 Details for
Bug 9075
Rename type to material type
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED OFF] Bug 9075: Rename type to material type on staff XSLT detail and results
SIGNED-OFF-Bug-9075-Rename-type-to-material-type-o.patch (text/plain), 3.22 KB, created by
Mark Tompsett
on 2014-04-04 17:23:46 UTC
(
hide
)
Description:
[SIGNED OFF] Bug 9075: Rename type to material type on staff XSLT detail and results
Filename:
MIME Type:
Creator:
Mark Tompsett
Created:
2014-04-04 17:23:46 UTC
Size:
3.22 KB
patch
obsolete
>From 1ed9bcfbeab85d5e9897b46e74999d401ffc8664 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Mon, 11 Apr 2011 11:46:44 +0200 >Subject: [PATCH] [SIGNED OFF] Bug 9075: Rename type to material type on staff > XSLT detail and results > >The label Material type better describes what the icon presents. >It is based on leader values of the MARC record. > >Revised Test Plan >----------------- >1) Set the Staff system preference XSLTDetailsDisplay to > 'default' and save. >2) Set the Staff system preference XSLTResultsDisplay to > 'default' and save. >3) Click 'Search the catalog' tab in the search area. >4) Search for something >5) Look for a biblio that has 942$c set to some type. > -- It should display "Type:" > Or take a result and modify it to have a 942$c. >6) Look at the biblio details > -- It should also display "Type:" >7) Apply the patch >8) Search for the same biblio again. > -- It should display "Material type:" this time. >9) Look at the biblio details > -- It should display "Material type:" this time. >10) Run the koha qa test tool. > >Signed-off-by: Mark Tompsett <mtompset@hotmail.com> > >Note: This is a simple string substitution. >--- > .../prog/en/xslt/MARC21slim2intranetDetail.xsl | 2 +- > .../prog/en/xslt/MARC21slim2intranetResults.xsl | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >index 14ff809..3e7503a 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >+++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >@@ -144,7 +144,7 @@ > <xsl:call-template name="showAuthor"><xsl:with-param name="authorfield" select="marc:datafield[@tag=700 or @tag=710 or @tag=711]"/><xsl:with-param name="UseAuthoritiesForTracings" select="$UseAuthoritiesForTracings"/></xsl:call-template> > > <xsl:if test="$DisplayIconsXSLT!='0' and $materialTypeCode!=''"> >- <span class="results_summary type"><span class="label">Type: </span> >+ <span class="results_summary type"><span class="label">Material type: </span> > <xsl:element name="img"><xsl:attribute name="src">/intranet-tmpl/prog/img/famfamfam/<xsl:value-of select="$materialTypeCode"/>.png</xsl:attribute><xsl:attribute name="alt"></xsl:attribute></xsl:element> > <xsl:text> </xsl:text> > <xsl:value-of select="$materialTypeLabel"/> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl >index aad159b..f3a1761 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl >+++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl >@@ -395,7 +395,7 @@ > <xsl:if test="$DisplayIconsXSLT!='0'"> > <span class="results_summary"> > <xsl:if test="$typeOf008!=''"> >- <span class="label">Type: </span> >+ <span class="label">Material type: </span> > <xsl:choose> > <xsl:when test="$leader19='a'"><img src="/intranet-tmpl/prog/img/famfamfam/silk/book_link.png" alt="book" title="book" class="materialtype"/> Set</xsl:when> > <xsl:when test="$leader6='a'"> >-- >1.7.9.5
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 9075
:
13448
|
14447
|
26787
|
26823
|
26824
|
26825
|
26826
|
26886
|
26887