[Koha-bugs] [Bug 7208] New: NORMARCslim2OPACDetail.xsl does not display item type icon
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Nov 10 15:38:10 CET 2011
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7208
Bug #: 7208
Summary: NORMARCslim2OPACDetail.xsl does not display item type
icon
Classification: Unclassified
Change sponsored?: ---
Product: Koha
Version: master
Platform: All
OS/Version: All
Status: ASSIGNED
Severity: minor
Priority: P5 - low
Component: OPAC
AssignedTo: magnus at enger.priv.no
ReportedBy: magnus at enger.priv.no
QAContact: ian.walls at bywatersolutions.com
In NORMARCslim2OPACResults.xsl, this works:
374 <xsl:when test="$typeOf008='Mon'"><img
src="/opac-tmpl/prog/famfamfam/silk/book.png" alt="Bok" title="Bok"/>
Bok</xsl:when>
375 <xsl:when test="$typeOf008='Per'"><img
src="/opac-tmpl/prog/famfamfam/silk/newspaper.png" alt="Periodika"
title="Periodika"/> Periodika</xsl:when>
376 <xsl:when test="$typeOf008='Fil'"><img
src="/opac-tmpl/prog/famfamfam/silk/computer_link.png" alt="Fil" title="Fil"/>
Fil</xsl:when>
377 <xsl:when test="$typeOf008='Kar'"><img
src="/opac-tmpl/prog/famfamfam/silk/map.png" alt="Kart" title="Kart"/>
Kart</xsl:when>
But this, in NORMARCslim2OPACDetail.xsl, does not:
147 <xsl:element name="img"><xsl:attribute
name="src">/opac-tmpl/prog/famfamfam/<xsl:value-of
select="$materialTypeCode"/>.png</xsl:attribute><xsl:attribute
name="alt"></xsl:attribute></xsl:element>
resulting in a 404 for the image.
--
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the Koha-bugs
mailing list