[Koha-bugs] [Bug 8793] Fix materialTypeCode/typeOf008 icons for NORMARC XSLT

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun Sep 23 12:32:35 CEST 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8793

--- Comment #2 from Magnus Enger <magnus at enger.priv.no> ---
Created attachment 12455
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=12455&action=edit
Bug 8793 - Fix materialTypeCode/typeOf008 icons for NORMARC XSLT

This patch fixes some issues with icons related to materialtypes in NORMARC:

Remove references to opac-tmpl in the *intranet* NORMARC XSLT files.

Add two new icons to koha-tmpl/intranet-tmpl/prog/img/famfamfam/ and
koha-tmpl/opac-tmpl/lib/famfamfam/
GR.png - Graphical materials
TD.png - Three dimentional objects

Copy PR.png from koha-tmpl/intranet-tmpl/prog/img/famfamfam/ to
koha-tmpl/opac-tmpl/lib/famfamfam/

Rename the XSLT variable materialTypeCode to typeOf008 for increased
consistency
between stylesheets.

Make sure the XSLT uses icons that are actually available.

To test:
- No use testing all the different permutations of leader pos. 06 and 019b, I
think.
- Set marcflavour = NORMARC and turn on default XSLT for OPAC and Intranet,
details
  and results.
- Make sure you have a record with something relevant in leader position 6,
like
  g for movies or c for music
- Check that the icon turns up in results and details, in the OPAC and Intranet
- Toggle DisplayOPACiconsXSLT and check that the results in the OPAC are as
expected

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list