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)
committerGalen Charlton <gmc@esilibrary.com>
Thu, 5 Dec 2013 16:36:43 +0000 (16:36 +0000)
commit01c101a6b9b60b685abca58fddfccb1087b4dbce
treef7048a5fb2f18f8f8e88a1d2338b70e971e59e22
parentb8a3933ca38ea36df73bd903835e9ed1db02bed7
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>
koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css
koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc