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)
committerFridolin SOMERS <fridolin.somers@biblibre.com>
Tue, 17 Dec 2013 17:14:27 +0000 (18:14 +0100)
commit8b037651780d86f6fc0576abe1a665a379a8a443
treead8f7970f07321ad7168c5b37db0e092229aedaa
parent945496b32fe3be9862a2705fb07993f9710c1b60
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>
koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css
koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc