Bugzilla – Attachment 26824 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]
Bug 9075: Rename type to material type on OPAC XSLT detail and results
Bug-9075-Rename-type-to-material-type-on-OPAC-XSLT.patch (text/plain), 4.16 KB, created by
Marcel de Rooy
on 2014-04-04 15:16:12 UTC
(
hide
)
Description:
Bug 9075: Rename type to material type on OPAC XSLT detail and results
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2014-04-04 15:16:12 UTC
Size:
4.16 KB
patch
obsolete
>From 0dcb8cc78bdbd32c0bbb78bbc7294fc167be5968 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Fri, 4 Apr 2014 17:11:15 +0200 >Subject: [PATCH] Bug 9075: Rename type to material type on OPAC XSLT detail > and results >Content-Type: text/plain; charset=utf-8 > >The label Material type better describes what the icon presents. >It is based on leader values of the MARC record. > >Test plan: >Enable XSLT on OPAC detail/results. >Check if you see the new label on OPAC detail/results (bootstrap, prog). >--- > .../bootstrap/en/xslt/MARC21slim2OPACDetail.xsl | 2 +- > .../bootstrap/en/xslt/MARC21slim2OPACResults.xsl | 2 +- > .../prog/en/xslt/MARC21slim2OPACDetail.xsl | 2 +- > .../prog/en/xslt/MARC21slim2OPACResults.xsl | 2 +- > 4 files changed, 4 insertions(+), 4 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl >index 3288d77..fdd5421 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl >@@ -171,7 +171,7 @@ > > <xsl:if test="$DisplayOPACiconsXSLT!='0'"> > <xsl:if test="$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">/opac-tmpl/lib/famfamfam/<xsl:value-of select="$materialTypeCode"/>.png</xsl:attribute><xsl:attribute name="alt">materialTypeLabel</xsl:attribute><xsl:attribute name="class">materialtype</xsl:attribute></xsl:element> > <xsl:value-of select="$materialTypeLabel"/> > </span> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl >index f065bea..ea6af38 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl >@@ -533,7 +533,7 @@ > <xsl:if test="$DisplayOPACiconsXSLT!='0'"> > <span class="results_summary type"> > <xsl:if test="$typeOf008!=''"> >- <span class="label">Type: </span> >+ <span class="label">Material type: </span> > <xsl:choose> > <xsl:when test="$leader19='a'"><img src="/opac-tmpl/lib/famfamfam/silk/book_link.png" alt="book" title="book" class="materialtype"/> Set</xsl:when> > <xsl:when test="$leader6='a'"> >diff --git a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl b/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl >index 1c9e8e1..df822b2 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl >+++ b/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl >@@ -171,7 +171,7 @@ > > <xsl:if test="$DisplayOPACiconsXSLT!='0'"> > <xsl:if test="$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">/opac-tmpl/lib/famfamfam/<xsl:value-of select="$materialTypeCode"/>.png</xsl:attribute><xsl:attribute name="alt">materialTypeLabel</xsl:attribute><xsl:attribute name="class">materialtype</xsl:attribute></xsl:element> > <xsl:value-of select="$materialTypeLabel"/> > </span> >diff --git a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACResults.xsl b/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACResults.xsl >index 9ade085..6b314d1 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACResults.xsl >+++ b/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACResults.xsl >@@ -533,7 +533,7 @@ > <xsl:if test="$DisplayOPACiconsXSLT!='0'"> > <span class="results_summary type"> > <xsl:if test="$typeOf008!=''"> >- <span class="label">Type: </span> >+ <span class="label">Material type: </span> > <xsl:choose> > <xsl:when test="$leader19='a'"><img src="/opac-tmpl/lib/famfamfam/silk/book_link.png" alt="book" title="book" class="materialtype"/> Set</xsl:when> > <xsl:when test="$leader6='a'"> >-- >1.7.7.6
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