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)
committerGalen Charlton <gmc@esilibrary.com>
Tue, 28 May 2013 15:07:43 +0000 (08:07 -0700)
commit45168efeb9a2c6e3268e2f002ca31af8e5e6afc8
tree59cbfb9b26680099eb3c2350b433bcdc4638d2a4
parent3285261d0150113e597d48a5a78aee5fdc1ebd94
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>
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