]> 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)
committerFrédéric Demians <f.demians@tamil.fr>
Thu, 31 Dec 2015 16:22:17 +0000 (17:22 +0100)
commit4448c38763c94415c64f51b2de6cda90a88fc6c0
treee8d8b10c90374c119e4914e00b8b776d23cd49b2
parent13239b15a56822beef510feb7cd08bba8e51265d
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>
(cherry picked from commit 3951a8fffd4d9b6ecb22a8382878c79225e6d2ca)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
koha-tmpl/intranet-tmpl/prog/en/includes/facets.inc
koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-facets.inc