From: phasefx Date: Fri, 18 Jun 2010 19:24:26 +0000 (+0000) Subject: expose the internal record id and create date for a user as a tooltip over the user... X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=6ce9b03a1396e7dbc574825e5f02569176356215;p=evergreen%2Fbjwebb.git expose the internal record id and create date for a user as a tooltip over the user's name in the patron display git-svn-id: svn://svn.open-ils.org/ILS/trunk@16764 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/xul/staff_client/server/locale/en-US/patron.properties b/Open-ILS/xul/staff_client/server/locale/en-US/patron.properties index 1a53a4c02..b2d59b721 100644 --- a/Open-ILS/xul/staff_client/server/locale/en-US/patron.properties +++ b/Open-ILS/xul/staff_client/server/locale/en-US/patron.properties @@ -103,6 +103,8 @@ staff.patron.display.init.network_request.error_showing_alert=Error showing patr staff.patron.display.render_search_form.patron_search=Patron Search staff.patron.display.tab_name=Patron: staff.patron.display.no_alerts_or_messages=No Alerts, Blocks, or Messages +# Field 1 = actor.usr.id, Field 2 = actor.usr.create_date +staff.patron.display.db_data=Record ID: %1$s Create Date: %2$s staff.patron.hold_notices.tooltiptext=ID: %1$s Hold ID: %2$s Notifying Staff ID: %3$s staff.patron.hold_notices.new_notification_record=New Notification Record staff.patron.hold_notices.method=Method diff --git a/Open-ILS/xul/staff_client/server/patron/display.js b/Open-ILS/xul/staff_client/server/patron/display.js index 3fdfc0be8..778642b04 100644 --- a/Open-ILS/xul/staff_client/server/patron/display.js +++ b/Open-ILS/xul/staff_client/server/patron/display.js @@ -506,6 +506,14 @@ patron.display.prototype = { patron.util.format_name( obj.patron ) ); patron.util.set_penalty_css(obj.patron); + var tooltiptext = $("patronStrings").getFormattedString( + 'staff.patron.display.db_data', + [ + obj.patron.id(), + obj.patron.create_date() + ] + ); + e.setAttribute('tooltiptext',tooltiptext); }; } ], diff --git a/Open-ILS/xul/staff_client/server/patron/display_horiz_overlay.xul b/Open-ILS/xul/staff_client/server/patron/display_horiz_overlay.xul index 17094e6a2..358701fbe 100644 --- a/Open-ILS/xul/staff_client/server/patron/display_horiz_overlay.xul +++ b/Open-ILS/xul/staff_client/server/patron/display_horiz_overlay.xul @@ -13,7 +13,7 @@ - diff --git a/Open-ILS/xul/staff_client/server/patron/display_overlay.xul b/Open-ILS/xul/staff_client/server/patron/display_overlay.xul index bfdea6fdb..e7b6a1c44 100644 --- a/Open-ILS/xul/staff_client/server/patron/display_overlay.xul +++ b/Open-ILS/xul/staff_client/server/patron/display_overlay.xul @@ -13,7 +13,7 @@ -