Bug 11881: Small improvements for the availability informations in the search results...
authorsimith <simith@inlibro.com>
Wed, 4 Mar 2015 19:09:56 +0000 (14:09 -0500)
committerTomas Cohen Arazi <tomascohen@theke.io>
Thu, 29 Oct 2015 17:13:07 +0000 (14:13 -0300)
commitfeb89b4532134ca9de030098c49f3f08a2c0018c
treebc95293962fba708c0ab1360a35958ea54f9417a
parent357bb7e1e36b2e72e73f88a073fcdde99e6eb945
Bug 11881: Small improvements for the availability informations in the search results list on the OPAC

This patch contains small modifications to the template of OPAC search results.
Theses modifications affect the "Availability" line :
* Add a linebreak after each location.
* Add the text "Call Number:" before call numbers.

To test:

I) Apply the patch

II) Include the following test in the OPACUserCSS preference:

.searchresults .CommasWithLinebreaks {
    display: block; # block - line breaks, inline - all one line
}

.searchresults .LabelCallNumber {
    display: inline; # inline - display, none - don't display
}

III) Do a search on the OPAC

IV) Validate : check the format of availability informations for each search result (Breakline or "Call Number:" text).

Sponsored-by: CCSR ( http://www.ccsr.qc.ca )

Signed-off-by: Nick Clemens <nick@quecheelibrary.org>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl