Patch from Benjamin Shum for the staff client button bar. Thanks!
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 5 Nov 2010 13:22:15 +0000 (13:22 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 5 Nov 2010 13:22:15 +0000 (13:22 +0000)
---
In our consortium, we have the Button Bar for our Evergreen staff
clients enabled all the time.  As a result, we have had lots of feedback
from users that there is a need to include a "Search Catalog" option on
the Button Bar.

This is our first attempt at writing something against trunk and
submitting it as a minor patch.  Melissa Lefebvre created the icon for
the button by adapting existing icon sets.  I set out to create the
requisite .diff file against a recent copy of trunk.  I was unsure of
how to apply our changes to other locales' lang.dtd files, the one I
found most immediately was for en-US (our default).

If the community approves, we would like to see this become part of
future releases of Evergreen 1.6 and 2.0.

Thank you for your consideration.

-- Ben

--
Benjamin Shum
Open Source Software Coordinator
Bibliomation, Inc.
32 Crest Road
Middlebury, CT 06762
203-577-4070, ext. 113

git-svn-id: svn://svn.open-ils.org/ILS/trunk@18609 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/opac/locale/en-US/lang.dtd
Open-ILS/xul/staff_client/chrome/content/main/menu_frame_overlay.xul
Open-ILS/xul/staff_client/chrome/skin/media/images/Search_Items_32x32.png [new file with mode: 0644]
Open-ILS/xul/staff_client/chrome/skin/media/images/licenses.txt

index 6cc1a3a..a125142 100644 (file)
 <!ENTITY staff.main.button_bar.check_out.accesskey "">
 <!ENTITY staff.main.button_bar.check_in.label "Check In">
 <!ENTITY staff.main.button_bar.check_in.accesskey "">
+<!ENTITY staff.main.button_bar.search_opac.label "Search Catalog">
+<!ENTITY staff.main.button_bar.search_opac.accesskey "">
 <!ENTITY staff.main.button_bar.item_status.label "Item Status">
 <!ENTITY staff.main.button_bar.item_status.accesskey "">
 <!ENTITY staff.main.button_bar.patron_search.label "Patron Search">
index 58bf366..fdbed1d 100644 (file)
             image="chrome://open_ils_staff_client/skin/media/images/center.png" 
             label="&staff.main.button_bar.check_in.label;" 
             accesskey="&staff.main.button_bar.check_in.accesskey;" />
+        <toolbarseparator />
+        <toolbarbutton id="tb_search_opac" 
+            command="cmd_search_opac" 
+            image="chrome://open_ils_staff_client/skin/media/images/Search_Items_32x32.png" 
+            label="&staff.main.button_bar.search_opac.label;" 
+            accesskey="&staff.main.button_bar.search_opac.accesskey;" />
         <toolbarbutton id="tb_item_status" 
             command="cmd_copy_status" 
             image="chrome://open_ils_staff_client/skin/media/images/HILLBLU_libro_32x32.png" 
diff --git a/Open-ILS/xul/staff_client/chrome/skin/media/images/Search_Items_32x32.png b/Open-ILS/xul/staff_client/chrome/skin/media/images/Search_Items_32x32.png
new file mode 100644 (file)
index 0000000..3b28fec
Binary files /dev/null and b/Open-ILS/xul/staff_client/chrome/skin/media/images/Search_Items_32x32.png differ
index ba77bf8..244c452 100644 (file)
@@ -25,4 +25,6 @@ Center.png derived from:
 http://commons.wikimedia.org/wiki/File:Center.svg
 Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License".
 
-
+Search_Items_32x32 derived from:
+http://commons.wikimedia.org/wiki/File:HILLBLU_lente.png AND http://commons.wikimedia.org/wiki/File:HILLBLU_libro.png
+Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License".