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

Evergreen Git git at git.evergreen-ils.org
Thu Jun 30 11:18:05 EDT 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  467d9e051446578df75f4301d248f7a25ae066ef (commit)
      from  9aaf3351dc4f2dbf649ea1c2cb5711fc98637fbb (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 467d9e051446578df75f4301d248f7a25ae066ef
Author: Jason Etheridge <jason at esilibrary.com>
Date:   Thu Jun 9 17:27:21 2011 -0400

    Hold Notes column
    
    New column in holds list UIs that allows staff to see at a glance the
    (initial) text content of attached hold notes.  In some cases, this
    helps avoid the need to open the dedicated notes UI.
    
    Signed-off-by: Jason Etheridge <jason at esilibrary.com>
    Signed-off-by: Bill Erickson <berick at esilibrary.com>

diff --git a/Open-ILS/xul/staff_client/server/circ/util.js b/Open-ILS/xul/staff_client/server/circ/util.js
index 64c4279..c94c2ca 100644
--- a/Open-ILS/xul/staff_client/server/circ/util.js
+++ b/Open-ILS/xul/staff_client/server/circ/util.js
@@ -2467,6 +2467,22 @@ circ.util.hold_columns = function(modify,params) {
         },
         {
             'persist' : 'hidden width ordinal',
+            'id' : 'hold_note_text',
+            'label' : document.getElementById('circStrings').getString('staff.circ.utils.hold_note_text'),
+            'flex' : 1,
+            'primary' : false,
+            'hidden' : true,
+            'editable' : false, 'render' : function(my) {
+                var s = '';
+                var notes = my.ahr.notes();
+                for (var i = 0; i < notes.length; i++) {
+                    s += notes[i].title() + ':' + notes[i].body() + '; \n';
+                }
+                return s;
+            }
+        },
+        {
+            'persist' : 'hidden width ordinal',
             'id' : 'staff_hold',
             'label' : document.getElementById('circStrings').getString('staff.circ.utils.staff_hold'),
             'flex' : 1,
diff --git a/Open-ILS/xul/staff_client/server/locale/en-US/circ.properties b/Open-ILS/xul/staff_client/server/locale/en-US/circ.properties
index 15f4d37..b155e5b 100644
--- a/Open-ILS/xul/staff_client/server/locale/en-US/circ.properties
+++ b/Open-ILS/xul/staff_client/server/locale/en-US/circ.properties
@@ -253,7 +253,8 @@ staff.circ.utils.circulate=Circulate?
 staff.circ.utils.deleted=Deleted?
 staff.circ.utils.holdable=Holdable?
 staff.circ.utils.floating=Floating?
-staff.circ.utils.hold_note=Hold Note(s)
+staff.circ.utils.hold_note=Hold Note(s) Count
+staff.circ.utils.hold_note_text=Hold Note(s) Text
 staff.circ.utils.staff_hold=Staff Hold?
 staff.circ.utils.opac_visible=OPAC Visible?
 staff.circ.utils.status_changed_time=Status Changed Time

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

Summary of changes:
 Open-ILS/xul/staff_client/server/circ/util.js      |   16 ++++++++++++++++
 .../server/locale/en-US/circ.properties            |    3 ++-
 2 files changed, 18 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list