]> git.koha-community.org Git - koha.git/commit
Bug 2310: display tooltips explaining why patron menu items are disabled
authorOwen Leonard <oleonard@myacpl.org>
Sun, 20 Oct 2013 15:12:29 +0000 (08:12 -0700)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Fri, 27 Dec 2013 18:35:59 +0000 (15:35 -0300)
commit479c20dca66b31e8b41d9c8dac6bb2552a5e52c1
treeb0458164f2f7ffe568afa096f89dff89ee5a8abf
parente2090d8ac70cd190b85e014de99effcff7e05df8
Bug 2310: display tooltips explaining why patron menu items are disabled

With some staff client menus options are displayed as disabled when the
logged in user doesn't have permission to perform that function. This
patch adds Bootstrap tooltips to patron menu items with text explaining
why they are disabled.

To test, log in as a user who lacks permission to modify patrons or set
permissions. Open a patron record in circulation or patrons. Hovering
over renew, delete, and set permissions links (in the patron toolbar
"More" menu) should trigger a tooltip with a brief explanation.

Test the "Update child to adult patron" link by viewing an adult patron.

A separate patch will address catalog menu items.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
New tooltip texts are translatable, patch passes all tests
and QA script.
Tested according to test plan in Chromium and Firefox.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit 01c101a6b9b60b685abca58fddfccb1087b4dbce)
Signed-off-by: Fridolin SOMERS <fridolin.somers@biblibre.com>
(cherry picked from commit 8b037651780d86f6fc0576abe1a665a379a8a443)
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
Works as expected, simple addition.
koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css
koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc