[open-ils-commits] r13198 - in trunk/Open-ILS: web/opac/locale/en-US xul/staff_client/chrome/content/main xul/staff_client/server/admin (phasefx)

svn at svn.open-ils.org svn at svn.open-ils.org
Sun May 17 03:24:30 EDT 2009


Author: phasefx
Date: 2009-05-17 03:24:26 -0400 (Sun, 17 May 2009)
New Revision: 13198

Modified:
   trunk/Open-ILS/web/opac/locale/en-US/lang.dtd
   trunk/Open-ILS/xul/staff_client/chrome/content/main/menu.js
   trunk/Open-ILS/xul/staff_client/server/admin/org_unit_settings.xhtml
Log:
Make an org setting for the network activity meter.  It's not ready for prime-time yet

Modified: trunk/Open-ILS/web/opac/locale/en-US/lang.dtd
===================================================================
--- trunk/Open-ILS/web/opac/locale/en-US/lang.dtd	2009-05-17 07:04:15 UTC (rev 13197)
+++ trunk/Open-ILS/web/opac/locale/en-US/lang.dtd	2009-05-17 07:24:26 UTC (rev 13198)
@@ -2747,3 +2747,5 @@
 <!ENTITY ui.circ.patron_summary.horizontal.desc "This replaces the vertical Patron Summary Sidebar.">
 <!ENTITY ui.general.button_bar "GUI: Above-Tab Button Bar">
 <!ENTITY ui.general.button_bar.desc "This enables a row of buttons and/or icons between the top-level menu system and the tabbed interfaces.">
+<!ENTITY ui.network.progress_meter "GUI: Network Activity Meter">
+<!ENTITY ui.network.progress_meter.desc "This enables a network activity indicator in the bottom status bar.">

Modified: trunk/Open-ILS/xul/staff_client/chrome/content/main/menu.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/chrome/content/main/menu.js	2009-05-17 07:04:15 UTC (rev 13197)
+++ trunk/Open-ILS/xul/staff_client/chrome/content/main/menu.js	2009-05-17 07:24:26 UTC (rev 13198)
@@ -60,6 +60,12 @@
             if (x) x.setAttribute('hidden','false');
         }
 
+        var network_meter = String( obj.data.hash.aous['ui.network.progress_meter'] ) == 'true';
+        if (! network_meter) {
+            var x = document.getElementById('network_progress');
+            if (x) x.setAttribute('hidden','true');
+        }
+
         function open_conify_page(path, labelKey) {
 
             // tab label

Modified: trunk/Open-ILS/xul/staff_client/server/admin/org_unit_settings.xhtml
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/admin/org_unit_settings.xhtml	2009-05-17 07:04:15 UTC (rev 13197)
+++ trunk/Open-ILS/xul/staff_client/server/admin/org_unit_settings.xhtml	2009-05-17 07:24:26 UTC (rev 13198)
@@ -146,6 +146,11 @@
                     desc : '&ui.general.button_bar.desc;',
                     type : 'bool'
                 },
+                'ui.network.progress_meter' : {
+                    label : '&ui.network.progress_meter;',
+                    desc : '&ui.network.progress_meter.desc;',
+                    type : 'bool'
+                },
                 'circ.charge_on_damaged' : {
                     label : '&staff.server.admin.org_settings.circ.charge_on_damaged;',
                     desc : '&staff.server.admin.org_settings.circ.charge_on_damaged.desc;',



More information about the open-ils-commits mailing list