]> git.koha-community.org Git - koha.git/commit
Bug 2093: (follow-up) Add OPAC dashboard for logged-in users
authorAleisha Amohia <aleishaamohia@hotmail.com>
Wed, 2 Aug 2017 23:25:35 +0000 (23:25 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 27 Oct 2017 17:09:05 +0000 (14:09 -0300)
commit506d669424fd85edb7986fd045bde0821964bc1f
treeb2d287e8585534baaf267a76c6c92dc8a1260b62
parentffee02e41dc319d5656addc10c7a63ee4afada8d
Bug 2093: (follow-up) Add OPAC dashboard for logged-in users

This patch:
- hides the dashboard if there is no dashboard information to display
- changes '5.00 due' to '5.00 due in fines and charges' for translation
- uses Koha::Holds in place of deprecated C4::Reserves methods

To test, confirm all the right information for holds still shows, and
confirm the dashboard is hidden if there are no checkouts, holds, fines
or overdues.

Signed-off-by: Hugo Agud <hagud@orex.es>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt
opac/opac-main.pl