From b6318f229938a06b7ceaa4a0ada173f5d3bb0b82 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Thu, 23 Apr 2020 20:55:30 +0000 Subject: [PATCH] Bug 25269: Add text along with icons for physical descriptions 1. Edit a record to have the first and second postions in the 008 = 'cb'. 2. Load the OPAC results page and this record should display: Format: chip cartridge 3. Now try first and second positions in the 008 = 'co' 4. This should an optical disc png (/opac-tmpl/lib/famfamfam/cd.png) but nothing displays because the string length is 0. 5. Apply patch 6. Record with first and second positions in the 008 = 'co' should now should text and icon. 7. Look at patch and make sure other changed parts also work. --- .../bootstrap/en/xslt/MARC21slim2OPACResults.xsl | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl index d29fdceaee..0c93433392 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl +++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl @@ -172,6 +172,7 @@ chip cartridge + computer optical disc cartidge computer optical disc cartridge @@ -181,10 +182,11 @@ magneto-optical disc + optical disc optical disc - available online + available online remote @@ -198,15 +200,19 @@ + celestial globe celestial globe + earth globe earth moon globe + planetary or lunar globe planetary or lunar globe + terrestrial globe terrestrial globe @@ -270,18 +276,22 @@ film reel + chart chart collage + drawing drawing + flash card flash card + drawing painting @@ -294,6 +304,7 @@ photoprint + picture picture @@ -303,6 +314,7 @@ technical drawing + notated music notated music @@ -318,6 +330,7 @@ other filmstrip type + slide slide @@ -339,6 +352,7 @@ sound cassette + sound disc sound disc @@ -366,6 +380,7 @@ braille + large print large print @@ -381,6 +396,7 @@ videocassette + videodisc videodisc -- 2.11.0