Bug 10218 - In OPAC XSLT search results, add class to 'online access'
authorOwen Leonard <oleonard@myacpl.org>
Mon, 13 May 2013 19:07:34 +0000 (15:07 -0400)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Tue, 4 Jun 2013 15:18:06 +0000 (12:18 -0300)
commitcf96dd5f53eea3b585ea8a38b916a30b89c24bea
tree8c4feb4222b94dc639ca48ec8c6cfeddc4735b16
parentcfdf4759dc0fe857b3dfb2fcab2868e117c5e6ff
Bug 10218 - In OPAC XSLT search results, add class to 'online access'

In some cases in OPAC search results and the detail page there is a
class specific to each line of data being output (publisher, date,
subjects, etc). In other cases there is no additional class. This patch
makes modifications to a few different OPAC files in an attempt to make
them consistent with each other.

To test, apply the patch and view:

- an OPAC detail page with OPACXSLTDetailsDisplay off
- the OPAC search results page with OPACXSLTDetailsDisplay off
- the OPAC search results page with OPACXSLTDetailsDisplay on

Labels should have classes relevant to their data. To test the specific
case requested by this bug, view details/results for a record which
includes online resources (856u in MARC21).

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
html changes only, passes all tests

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit 45168efeb9a2c6e3268e2f002ca31af8e5e6afc8)
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt
koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tt
koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACResults.xsl