Bug 23438: Use Font Awesome icons in intranet search results browser
authorFridolin Somers <fridolin.somers@biblibre.com>
Wed, 7 Aug 2019 13:33:52 +0000 (15:33 +0200)
committerFridolin Somers <fridolin.somers@biblibre.com>
Mon, 2 Sep 2019 12:41:46 +0000 (14:41 +0200)
commit225f0d2e0ff1717be57d7e478e6e0dd1cd530837
tree87806839c2ab73a209f72c3544fbdd9ff66a0d9d
parent6a0775cef50598d3d33912fe41749fec09dc4631
Bug 23438: Use Font Awesome icons in intranet search results browser

In intranet after a search you see a results browser top left of biblio record details.

Actually this uses text for links next and previous with a character for the arrows.
I propose to use Font Awesome icons arrows.

In fact the translated text is often too large for those buttons.
For example "Previous" is "Préédant" in french and it causes the next and previous buttons to display on two lines.
Using icons is more compact and easy to use.

This patch also adds the list icon to back to results link and changes for a minimal text "Results".

1) Go to intranet
2) Perform a search with a few results
3) Click on first record
4) Check browser displays well
5) Click on next icon, check you go to next search result
6) Click on revious icon, check you go to previous search result
7) Click on "Results", you come back to search results
8) Clik on "Last" and click on last record
9) Check browser displays well

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 2fade168c81bc05d24164780cbddc100302dd71f)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/js/browser.js
koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss
koha-tmpl/intranet-tmpl/prog/en/includes/browser-strings.inc