Bug 15345: Translatability: fix issue in facets (Availability')
commit5e80a64ea39140c9918335fc472a441bb3fa9c6a
authorMarc Véron <veron@veron.ch>
Wed, 9 Dec 2015 17:36:21 +0000 (9 18:36 +0100)
committerBrendan A Gallagher <brendan@bywatersolutions.com>
Tue, 29 Dec 2015 20:23:49 +0000 (29 20:23 +0000)
tree800e3f0fd08e943fc93cff4f8aba0f600c73ebfa
parenta9fdfde186810c71ca8b507b6440046b6c9426e9
 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>
koha-tmpl/intranet-tmpl/prog/en/includes/facets.inc
koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-facets.inc