From 90cbbe8c0d81e29c18f8494c0ffb881a2d9f5481 Mon Sep 17 00:00:00 2001 From: Jenny Way Date: Wed, 17 Jan 2018 23:10:36 +0000 Subject: [PATCH] Bug-18236: Add classes to material type Test plan: -Following the test plan above, the class should still have 'materialtype' but also the new class: Books = mt_icon_BK Kit = mt_icon_MX Article = mt_icon_AR Mixed material = mt_icon_MX Computer files = mt_icon_CF Map = mt_icon_MP Music = mt_icon_MU Sound = mt_icon_MU Score = mt_icon_PR Visual material = mt_icon_VM -When viewing the details of a record, the material type img should also have the same changes -Check that the material type classes in the results page is the same as the details page Notes -The class names have changed from the previous patch in accordance to $materialTypeCode in MARC21slim2intranetDetail.xsl Signed-off-by: Owen Leonard --- .../prog/en/xslt/MARC21slim2intranetDetail.xsl | 2 +- .../prog/en/xslt/MARC21slim2intranetResults.xsl | 24 +++++++++++----------- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl index cf39ec4..0c4640a 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl +++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl @@ -166,7 +166,7 @@ Material type: - /intranet-tmpl/prog/img/famfamfam/.png + materialtype mt_icon_/intranet-tmpl/prog/img/famfamfam/.png diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl index 4d8dd89..4c4e634 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl +++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl @@ -491,20 +491,20 @@ 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 -- 2.1.4