From 0a84a9e675229b759a9d9fc176033829a3842c2a Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Wed, 2 Mar 2022 19:10:02 +0000 Subject: [PATCH] Bug 20161: add format, material type, etc to staff/OPAC details page For staff side: 1. Make sure DisplayIconsXSLT is on. 2. Look at the results page from the staff client. 3. Notice the results_material_type contains 'Material type', 'Format', 'Literary form', 'Type of visual material' 4. Look at the staff detail page and notice that only 'Material type' will show. 5. Apply patch and restart everything 6. Now look at the detail page and it should match what you see on the results page. 7. Turn off DisplayIconsXSLT 8. Make sure nothing on the results_material_type now displays. For OPAC: 1. Make sure DisplayOPACiconsXSLT is on. 2. Look at the results page from the OPAC. 3. Notice the results_material_type contains 'Material type', 'Format', 'Literary form', 'Type of visual material' 4. Look at the OPAC detail page and notice that only 'Material type' will show. 5. Apply patch and restart everything 6. Now look at the detail page and it should match what you see on the results page. 7. Turn off DisplayOPACiconsXSLT 8. Make sure nothing on the results_material_type now displays. --- .../en/xslt/MARC21slim2intranetDetail.xsl | 573 +++++++++++++++- .../en/xslt/MARC21slim2OPACDetail.xsl | 646 +++++++++++++++++- 2 files changed, 1200 insertions(+), 19 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl index 7f14c298f6..d48888e25a 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl +++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl @@ -68,6 +68,229 @@ PR + + + + + + + + + + + + + + reformatted digital + + + digitized microfilm + + + digitized other analog + + + + + + + + + + + + + + + braille + + + print + + + electronic + + + microfiche + + + microfilm + + + large print + + + + + chip cartridge + + + magnetic disc + + + magneto-optical disc + + + available online + + + tape cartridge + + + tape cassette + + + tape reel + + + + kit + + + + atlas + + + diagram + + + map + + + model + + + profile + + + remote-sensing image + + + section + + + view + + + + aperture card + + + microfiche + + + microfiche cassette + + + microfilm cartridge + + + microfilm cassette + + + microfilm reel + + + microopaque + + + film cartridge + + + film cassette + + + film reel + + + collage + + + photomechanical print + + + photonegative + + + photoprint + + + print + + + technical drawing + + + filmslip + + + filmstrip cartridge + + + filmstrip roll + + + other filmstrip type + + + transparency + + + remote-sensing image + + + cylinder + + + roll + + + sound cartridge + + + sound cassette + + + sound-tape reel + + + sound-track film + + + wire recording + + + combination + + + braille + + + moon + + + tactile, with no writing system + + + braille + + + regular print + + + text in looseleaf binder + + + videocartridge + + + videocassette + + + videoreel + + + Set @@ -163,13 +386,349 @@ - - Material type: - materialtype mt_icon_/intranet-tmpl/prog/img/famfamfam/.png - - - - + + + + + Material type: + + book Set + + + book Text + serial Continuing resource + article Article + + + book Text + kit Kit + mixed materialsMixed materials + computer file Computer file + map Map + Film Film + Picture Picture + Object Object + score Score + sound Sound + music Music + + + + + + + ; Format: + + + + + + + + + ; Type of continuing resource: + + + + loose-leaf + + + series + + + newspaper + + + periodical + + + + + + + + ; Nature of contents: + + + abstract or summary + + + bibliography + + + catalog + + + dictionary + + + encyclopedia + + + handbook + + + legal article + + + index + + + discography + + + legislation + + + theses + + + survey of literature + + + review + + + programmed text + + + filmography + + + directory + + + statistics + + + legal case and case notes + + + law report or digest + + + treaty + + + + + conference publication + + + + + + + + + ; Type of computer file: + + + + numeric data + + + + + + + + ; Nature of contents: + + + patent + + + festschrift + + + + ; Literary form: + + + + Not fiction + + + Fiction + + + Dramas + + + Essays + + + Novels + + + Humor, satires, etc. + + + Letters + + + Short stories + + + Mixed forms + + + Poetry + + + Speeches + + + + + + + ; Literary form: + + biography + + + conference publication + + + drama + + + essay + + + fiction + + + folktale + + + history + + + humor, satire + + + memoir + + + poetry + + + rehearsal + + + reporting + + + sound + + + speech + + + + + + ; Type of visual material: + + + art original + + + kit + + + art reproduction + + + diorama + + + filmstrip + + + game + + + picture + + + graphic + + + technical drawing + + + motion picture + + + chart + + + flash card + + + microscope slide + + + model + + + realia + + + slide + + + transparency + + + videorecording + + + toy + + + + + + + + + ; Audience: + + + Preschool; + + + Primary; + + + Pre-adolescent; + + + Adolescent; + + + Adult; + + + General; + + + Juvenile; + + + Specialized; + + + + + + + diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl index 4e507a5754..c0a78dfd4a 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl +++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl @@ -70,6 +70,278 @@ PR + + + + + + + + + + + + + + reformatted digital + + + digitized microfilm + + + digitized other analog + + + + + + + + + + + + + + + braille + + + print + + + electronic + + + microfiche + + + microfilm + + + large print + + + + chip cartridge + + + computer optical disc cartridge + + + magnetic disc + + + magneto-optical disc + + + optical disc + + + available online + remote + + + tape cartridge + + + tape cassette + + + tape reel + + + + celestial globe + + + earth moon globe + + + planetary or lunar globe + + + terrestrial globe + + + + kit + + + + atlas + + + diagram + + + map + + + model + + + profile + + + remote-sensing image + + + section + + + view + + + + aperture card + + + microfiche + + + microfiche cassette + + + microfilm cartridge + + + microfilm cassette + + + microfilm reel + + + microopaque + + + film cartridge + + + film cassette + + + film reel + + + chart + + + collage + + + drawing + + + flash card + + + painting + + + photomechanical print + + + photonegative + + + photoprint + + + picture + + + print + + + technical drawing + + + notated music + + + filmslip + + + filmstrip cartridge + + + filmstrip roll + + + other filmstrip type + + + slide + + + transparency + + + remote-sensing image + + + cylinder + + + roll + + + sound cartridge + + + sound cassette + + + sound disc + + + sound-tape reel + + + sound-track film + + + wire recording + + + combination + + + braille + + + moon + + + tactile, with no writing system + + + braille + + + large print + + + regular print + + + text in looseleaf binder + + + videocartridge + + + videocassette + + + videodisc + + + videoreel + + + Set @@ -186,19 +458,369 @@ - - - Material type: - - /opac-tmpl/lib/famfamfam/.png - - materialtype mt_icon_ - - - - - + + + + + Material type: + + Set Set + + + Text Text + Continuing resource Continuing resource + Article Article + + + Text Text + Kit Kit + Mixed materialsMixed materials + Computer file Computer file + Map Map + Film Film + Picture Picture + Object Object + Score Score + Sound Sound + Music Music + + + + + + ; Format: + + + + + + + + + ; Type of continuing resource: + + + + database + + + loose-leaf + + + series + + + newspaper + + + periodical + + + web site + + + + + + + + ; Nature of contents: + + + abstract or summary + + + bibliography + bibliography + + + catalog + + + dictionary + + + encyclopedia + + + handbook + + + legal article + + + index + + + discography + + + legislation + + + theses + + + survey of literature + + + review + + + programmed text + + + filmography + + + directory + + + statistics + + + technical report + + + legal case and case notes + + + law report or digest + + + treaty + + + + + conference publication + + + + + + + + + ; Type of computer file: + + + + numeric data + + + database + + + font + + + game + + + + + + + + ; Nature of contents: + + + patent + + + festschrift + + + biography + + + + ; Literary form: + + + + Not fiction + + + Fiction + + + Dramas + + + Essays + + + Novels + + + Humor, satires, etc. + + + Letters + + + Short stories + + + Mixed forms + + + Poetry + + + Speeches + + + + + + + ; Literary form: + + biography + + + conference publication + + + drama + + + essay + + + fiction + + + folktale + + + history + + + humor, satire + + + memoir + + + poetry + + + rehearsal + + + reporting + + + sound + + + speech + + + + + + ; Type of visual material: + + + art original + + + kit + + + art reproduction + + + diorama + + + filmstrip + + + game + + + picture + + + graphic + + + technical drawing + + + motion picture + + + chart + + + flash card + + + microscope slide + + + model + + + realia + + + slide + + + transparency + + + videorecording + + + toy + + + + + + + + ; Audience: + + + Preschool; + + + Primary; + + + Pre-adolescent; + + + Adolescent; + + + Adult; + + + General; + + + Juvenile; + + + Specialized; + + + + + + -- 2.20.1