From 3885646a4ac458c740f11c26455a1a427b67a80e 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 --- .../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 b699341..e5b608c 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl +++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl @@ -165,7 +165,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 1cc8252..45c5f45 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