From eeaf2e7c9e461b77bc18fd1883cdb250642ab1bd Mon Sep 17 00:00:00 2001 From: Jared Camins-Esakov Date: Thu, 17 Mar 2011 20:54:15 -0400 Subject: [PATCH] Bug 3382: Add CSS classes to OPAC XSLT tags This patch adds materialtype, format, and natureofcontents CSS classes to the tags produced by the OPAC XSLT stylesheets for use with CSS and jQuery. Signed-off-by: Nicole C. Engard Signed-off-by: Chris Cormack --- .../prog/en/xslt/MARC21slim2OPACDetail.xsl | 2 +- .../prog/en/xslt/MARC21slim2OPACResults.xsl | 76 +++++++++---------- 2 files changed, 39 insertions(+), 39 deletions(-) diff --git a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl b/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl index b5e60b99c8..24a6440d89 100755 --- a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl +++ b/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl @@ -186,7 +186,7 @@ Type: - /opac-tmpl/prog/famfamfam/.png + /opac-tmpl/prog/famfamfam/.pngmaterialTypeLabelmaterialtype diff --git a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACResults.xsl b/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACResults.xsl index 39eddd7321..0b53e222d6 100644 --- a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACResults.xsl +++ b/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACResults.xsl @@ -160,7 +160,7 @@ chip cartridge - computer optical disc cartridge + computer optical disc cartridge magnetic disc @@ -169,11 +169,11 @@ magneto-optical disc - optical disc + optical disc available online - remote + remote tape cartridge @@ -186,16 +186,16 @@ - celestial globe + celestial globe - earth moon globe + earth moon globe - planetary or lunar globe + planetary or lunar globe - terrestrial globe + terrestrial globe @@ -258,19 +258,19 @@ film reel - chart + chart collage - drawing + drawing - flash card + flash card - painting + painting photomechanical print @@ -282,7 +282,7 @@ photoprint - picture + picture print @@ -291,7 +291,7 @@ technical drawing - notated music + notated music filmslip @@ -306,7 +306,7 @@ other filmstrip type - slide + slide transparency @@ -327,7 +327,7 @@ sound cassette - sound disc + sound disc sound-tape reel @@ -354,7 +354,7 @@ braille - large print + large print regular print @@ -369,7 +369,7 @@ videocassette - videodisc + videodisc videoreel @@ -517,23 +517,23 @@ Type: - book Set + book Set - book Book - serial Continuing Resource - article Article + book Book + serial Continuing Resource + article Article - book Book - kit Kit - mixed materialsMixed Materials - computer file Computer File - map Map - visual material Visual Material - score Score - sound Sound - music Music + book Book + kit Kit + mixed materialsMixed Materials + computer file Computer File + map Map + visual material Visual Material + score Score + sound Sound + music Music @@ -548,7 +548,7 @@ - database + database loose-leaf @@ -563,7 +563,7 @@ periodical - web site + web site @@ -577,7 +577,7 @@ bibliography - bibliography + bibliography catalog @@ -625,7 +625,7 @@ statistics - technical report + technical report legal case and case notes @@ -652,13 +652,13 @@ numeric data - database + database - font + font - game + game @@ -673,7 +673,7 @@ festschrift - biography + biography