From feb89b4532134ca9de030098c49f3f08a2c0018c Mon Sep 17 00:00:00 2001 From: simith Date: Wed, 4 Mar 2015 14:09:56 -0500 Subject: [PATCH] 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 Signed-off-by: Jonathan Druart Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi --- .../en/xslt/MARC21slim2OPACResults.xsl | 34 ++++++++++++------- 1 file changed, 22 insertions(+), 12 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl index ddeb1ca80f..1488b04387 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl +++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl @@ -1112,23 +1112,33 @@ select="key('item-by-status', 'available')"/> - - [] - ( + + + [Call number: ] + ( - ) - . , - + ) + + . + , + + + - - [] - ( + + + [Call number: ] + ( - ) - . , - + ) + + . + , + + + -- 2.39.5