]> git.koha-community.org Git - koha.git/commit
Bug 18236: MARC21 - Add classes to material type on intranet detail and results pages
authorJenny Way <jwayway@hotmail.com>
Tue, 16 Jan 2018 20:37:37 +0000 (20:37 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Tue, 14 Aug 2018 12:37:19 +0000 (12:37 +0000)
commit484067b228d5cce461c6199b85b2b87cacd3ae40
tree7fe72ee6542c1213221eb4ade9a9f74f37cd362f
parente97f6ab9be6108cbe4d61ea8dd4b876527bd67ba
Bug 18236: MARC21 - Add classes to material type on intranet detail and results pages

Test plan:
1. Open a list of results
2. Use fn+f12 to inspect element
3. Without patch it should show that the image class is 'materialtype'
4. With patch there will be an additional class
-Books = mt_icon_BK
-Kit = mt_icon_MX
-Article = mt_icon_AR
-Continuous resource = mt_icon_CR
-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

OR
1. Try using the classes in css to change the style

-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

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
I've squashed the patches to make chanes easier readable.

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl
koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl