From 6d865a331aa1af2811edf74e83698fee754bb92b Mon Sep 17 00:00:00 2001 From: Dan Reuther Date: Tue, 18 Mar 2014 15:55:26 -0700 Subject: [PATCH] Added a Strings menu option to the Server Administration section of the Admin menu on the staff client. This option provides an interface to the config.strings table that was created for the boolean search feature. Signed-off-by: Dan Reuther modified: Open-ILS/examples/fm_IDL.xml new file: Open-ILS/src/templates/conify/global/config/strings.tt2 modified: Open-ILS/xul/staff_client/chrome/content/main/menu.js modified: Open-ILS/xul/staff_client/chrome/content/main/menu_frame_menus.xul --- Open-ILS/examples/fm_IDL.xml | 3 +-- .../src/templates/conify/global/config/strings.tt2 | 25 ++++++++++++++++++++++ .../xul/staff_client/chrome/content/main/menu.js | 4 ++++ .../chrome/content/main/menu_frame_menus.xul | 4 ++++ 4 files changed, 34 insertions(+), 2 deletions(-) create mode 100644 Open-ILS/src/templates/conify/global/config/strings.tt2 diff --git a/Open-ILS/examples/fm_IDL.xml b/Open-ILS/examples/fm_IDL.xml index 92eee236e1..3cc7a82b9d 100644 --- a/Open-ILS/examples/fm_IDL.xml +++ b/Open-ILS/examples/fm_IDL.xml @@ -993,7 +993,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA - + @@ -1009,7 +1009,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA - diff --git a/Open-ILS/src/templates/conify/global/config/strings.tt2 b/Open-ILS/src/templates/conify/global/config/strings.tt2 new file mode 100644 index 0000000000..ed7347f417 --- /dev/null +++ b/Open-ILS/src/templates/conify/global/config/strings.tt2 @@ -0,0 +1,25 @@ +[% WRAPPER base.tt2 %] +[% ctx.page_title = l('Strings') %] +
+
+
[% l('Strings') %]
+
+ + +
+
+ + + + +[% END %] diff --git a/Open-ILS/xul/staff_client/chrome/content/main/menu.js b/Open-ILS/xul/staff_client/chrome/content/main/menu.js index 3addc9c53c..58adc2e48d 100644 --- a/Open-ILS/xul/staff_client/chrome/content/main/menu.js +++ b/Open-ILS/xul/staff_client/chrome/content/main/menu.js @@ -952,6 +952,10 @@ main.menu.prototype = { ['oncommand'], function(event) { open_eg_web_page('conify/global/config/billing_type', null, event); } ], + 'cmd_server_admin_strings' : [ + ['oncommand'], + function(event) { open_eg_web_page('conify/global/config/strings', null, event); } + ], 'cmd_server_admin_acq_invoice_item_type' : [ ['oncommand'], function(event) { open_eg_web_page('conify/global/acq/invoice_item_type', null, event); } diff --git a/Open-ILS/xul/staff_client/chrome/content/main/menu_frame_menus.xul b/Open-ILS/xul/staff_client/chrome/content/main/menu_frame_menus.xul index 2288254246..97ed87bbab 100644 --- a/Open-ILS/xul/staff_client/chrome/content/main/menu_frame_menus.xul +++ b/Open-ILS/xul/staff_client/chrome/content/main/menu_frame_menus.xul @@ -194,6 +194,9 @@ /> + @@ -617,6 +620,7 @@ + -- 2.11.0