Within the $DisplayOPACiconsXSLT block in MARC21slim2OPACResults.xsl, we're mapping fixed field data to non-standard human-readable labels. While I think the non-standard labels we use are far more useful for users than the standard labels supplied by the LoC, I think that ours, at least in the case of position 6 of the Leader, are not entirely accurate. Here are the actual mappings (from http://www.loc.gov/marc/bibliographic/bdleader.html): a - Language material c - Notated music d - Manuscript notated music e - Cartographic material f - Manuscript cartographic material g - Projected medium i - Nonmusical sound recording j - Musical sound recording k - Two-dimensional nonprojectable graphic m - Computer file o - Kit p - Mixed materials r - Three-dimensional artifact or naturally occurring object t - Manuscript language material Below, I show our basic mappings in Koha (plus add my suggestion in brackets behind it) a => Book [Text] c => Score d => Score e => Map f => Map g => Visual Material [Film] i => Sound j => Music k => Visual Material [Picture] m => Computer File o => Kit p => Mixed Materials r => Visual Material [Object] t => Book [Text]
Created attachment 76577 [details] [review] Bug 10562: Improve Leader06 Type Labels in MARC21slim2OPACResults.xsl This patch takes the suggestions in Bug 10562 and implements those changes in MARC21slim2OPACResults.xsl. This patch also makes the following changes: - De-duplicate famfamfam icons: Remove the /silk subdirectory and move non-duplicates to famfamfam/; Correct paths to these images in templates and CSS - Improve the granularity of some material type icon choices: Show "Film," "Picture," or "Object" instead of "Visual material." - Remove unnecessary title attributes from material type images - Implement the kind of changes made in Bug 18235, "Add classes to material type icons on result lists and detail pages"
Created attachment 83822 [details] [review] Bug 10562: Improve Leader06 Type Labels in MARC21slim2OPACResults.xsl This patch takes the suggestions in Bug 10562 and implements those changes in MARC21slim2OPACResults.xsl. This patch also makes the following changes: - De-duplicate famfamfam icons: Remove the /silk subdirectory and move non-duplicates to famfamfam/; Correct paths to these images in templates and CSS - Improve the granularity of some material type icon choices: Show "Film," "Picture," or "Object" instead of "Visual material." - Remove unnecessary title attributes from material type images - Implement the kind of changes made in Bug 18235, "Add classes to material type icons on result lists and detail pages"
Patch wouldn't apply anymore, made a small rebase Needs Signoff
Created attachment 83823 [details] [review] Bug 10562: Improve Leader06 Type Labels in MARC21slim2OPACResults.xsl This patch takes the suggestions in Bug 10562 and implements those changes in MARC21slim2OPACResults.xsl. This patch also makes the following changes: - De-duplicate famfamfam icons: Remove the /silk subdirectory and move non-duplicates to famfamfam/; Correct paths to these images in templates and CSS - Improve the granularity of some material type icon choices: Show "Film," "Picture," or "Object" instead of "Visual material." - Remove unnecessary title attributes from material type images - Implement the kind of changes made in Bug 18235, "Add classes to material type icons on result lists and detail pages" Signed-off-by: Charles Farmer <charles.farmer@inLibro.com>
Created attachment 84254 [details] [review] Bug 10562: Improve Leader06 Type Labels in MARC21slim2OPACResults.xsl This patch takes the suggestions in Bug 10562 and implements those changes in MARC21slim2OPACResults.xsl. This patch also makes the following changes: - De-duplicate famfamfam icons: Remove the /silk subdirectory and move non-duplicates to famfamfam/; Correct paths to these images in templates and CSS - Improve the granularity of some material type icon choices: Show "Film," "Picture," or "Object" instead of "Visual material." - Remove unnecessary title attributes from material type images - Implement the kind of changes made in Bug 18235, "Add classes to material type icons on result lists and detail pages" Signed-off-by: Charles Farmer <charles.farmer@inLibro.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
I really like the text change from "book" to "text".
Awesome work all! Pushed to master for 19.05
Pushed to 18.11.x for 18.11.03
*** Bug 9706 has been marked as a duplicate of this bug. ***
Merge conflict with 18.05.x. Please rebase if needed for 18.05.x.