]> git.koha-community.org Git - koha.git/commit
Bug 15345: Translatability: fix issue in facets (Availability')
authorMarc Véron <veron@veron.ch>
Wed, 9 Dec 2015 17:36:21 +0000 (18:36 +0100)
committerJulian Maurice <julian.maurice@biblibre.com>
Wed, 30 Dec 2015 15:58:31 +0000 (16:58 +0100)
commit3951a8fffd4d9b6ecb22a8382878c79225e6d2ca
tree0affc7615ca932878ac5b4790facab6227031f05
parent4d3ba8c178bcc3c627fa186bcdaa642512252826
 Bug 15345: Translatability: fix issue in facets (Availability')

This patch fixes an issue with a splitted sentence in facets (Avalability)
that leads to weird translations e.g.:
German: 'Zeige nur Verfügbar Exemplare'
French: 'Montrer seulement disponible exemplaires'

Additionally, the link "Show all items" gets it's own li tags to display
nicely like the other links in the facets column and it removes superfluous
dots.

To test in OPAC and Staff client:
- Apply patch
- Do a search that results in more than one available items
- In column "Refine your search", click on "Limit to currently available
  items"
- Verify that the message "Showing only available items" and the link
  "Show all items" display nicely.

Signed-off-by: Hector Castro <hector.hecaxmmx@gmail.com>
use_zebra_facets set to 0 in koha-conf.xml to test. Works as described

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
(cherry picked from commit 5e80a64ea39140c9918335fc472a441bb3fa9c6a)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/includes/facets.inc
koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-facets.inc