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. Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> Signed-off-by: Galen Charlton <gmc@esilibrary.com> (cherry picked from commit4bdd8d9a69) Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> (cherry picked from commit97d9b102fa)
This commit is contained in:
parent
9ee1e66e66
commit
cfd53e654c
|
|
@ -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"/>
|
||||
|
|
|
|||
|
|
@ -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'">
|
||||
|
|
|
|||
Loading…
Reference in New Issue