[open-ils-commits] [GIT] Evergreen ILS branch master updated. bf325156572bd2a3cbe05f75cde1a9a48149986f

Evergreen Git git at git.evergreen-ils.org
Tue Nov 15 11:46:09 EST 2011


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, master has been updated
       via  bf325156572bd2a3cbe05f75cde1a9a48149986f (commit)
      from  b415ad55eb6ffa1edf6ba0fa4db42fe5ef466563 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit bf325156572bd2a3cbe05f75cde1a9a48149986f
Author: Jason Etheridge <jason at esilibrary.com>
Date:   Tue Nov 8 15:01:43 2011 -0500

    Show the patron account Create Date in both horizontal and vertical patron summary panes
    
    Signed-off-by: Jason Etheridge <jason at esilibrary.com>
    Signed-off-by: Mike Rylander <mrylander at gmail.com>

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 d4996b7..4f0ced6 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
@@ -348,6 +348,7 @@ staff.patron.search_result.billing_address_column_label_prefix=Billing Addr:
 staff.patron.summary.patron_bill.money=$ %1$s
 staff.patron.summary.retrieve.no_barcode=summary: No barcode or ID
 staff.patron.summary.patron_net_access=Internet
+staff.patron.summary.create_date=Account created on
 staff.patron.summary.expires_on=Expires on
 staff.patron.summary.updated_on=Last updated on
 staff.patron.summary.standing_penalty.remove=Remove
diff --git a/Open-ILS/xul/staff_client/server/patron/summary.js b/Open-ILS/xul/staff_client/server/patron/summary.js
index 03f9e44..fd6b91a 100644
--- a/Open-ILS/xul/staff_client/server/patron/summary.js
+++ b/Open-ILS/xul/staff_client/server/patron/summary.js
@@ -531,6 +531,17 @@ patron.summary.prototype = {
                             };
                         }
                     ],
+                    'patron_account_create_date' : [
+                        ['render'],
+                        function(e) {
+                            return function() {
+                                util.widgets.set_text(e,
+                                    patronStrings.getString('staff.patron.summary.create_date') + ' '
+                                    + util.date.formatted_date( obj.patron.create_date(), '%{localized_date}' )
+                                );
+                            };
+                        }
+                    ],
                     'patron_date_of_exp' : [
                         ['render'],
                         function(e) {
diff --git a/Open-ILS/xul/staff_client/server/patron/summary_overlay.xul b/Open-ILS/xul/staff_client/server/patron/summary_overlay.xul
index f341d42..b93cd38 100644
--- a/Open-ILS/xul/staff_client/server/patron/summary_overlay.xul
+++ b/Open-ILS/xul/staff_client/server/patron/summary_overlay.xul
@@ -44,6 +44,9 @@
         <row id="pdsgr5a">
             <description id="patron_net_access" class="copyable net_access value"/>
         </row>
+        <row id="pdsgr5aab">
+            <description id="patron_account_create_date" class="copyable create_date value"/>
+        </row>
         <row id="pdsgr5aa">
             <description id="patron_date_of_exp" class="copyable expire_date value"/>
         </row>
diff --git a/Open-ILS/xul/staff_client/server/patron/summary_overlay_horiz.xul b/Open-ILS/xul/staff_client/server/patron/summary_overlay_horiz.xul
index 3687fff..544b3a4 100644
--- a/Open-ILS/xul/staff_client/server/patron/summary_overlay_horiz.xul
+++ b/Open-ILS/xul/staff_client/server/patron/summary_overlay_horiz.xul
@@ -84,6 +84,9 @@
             <row id="pdsgr5a">
                 <description id="patron_net_access" class="copyable net_access value"/>
             </row>
+            <row id="pdsgr5aab">
+                <description id="patron_account_create_date" class="copyable create_date value"/>
+            </row>
             <row id="pdsgr5aa">
                 <description id="patron_date_of_exp" class="copyable expire_date value"/>
             </row>

-----------------------------------------------------------------------

Summary of changes:
 .../server/locale/en-US/patron.properties          |    1 +
 Open-ILS/xul/staff_client/server/patron/summary.js |   11 +++++++++++
 .../staff_client/server/patron/summary_overlay.xul |    3 +++
 .../server/patron/summary_overlay_horiz.xul        |    3 +++
 4 files changed, 18 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list