From b3a485dd49266d7e6d26bf9c25d7fef9cdced164 Mon Sep 17 00:00:00 2001 From: Thomas Berezansky Date: Tue, 18 Dec 2012 10:38:24 -0500 Subject: [PATCH] Add config interfaces For metabib class, class ts maps, field, and field ts maps. Signed-off-by: Thomas Berezansky Signed-off-by: Lebbeous Fogle-Weekley --- .../conify/global/config/metabib_class.tt2 | 25 +++++++++++++++++++ .../conify/global/config/metabib_class_ts_map.tt2 | 29 ++++++++++++++++++++++ .../conify/global/config/metabib_field_ts_map.tt2 | 29 ++++++++++++++++++++++ Open-ILS/web/opac/locale/en-US/lang.dtd | 3 +++ .../xul/staff_client/chrome/content/main/menu.js | 12 +++++++++ .../chrome/content/main/menu_frame_menus.xul | 9 +++++++ 6 files changed, 107 insertions(+) create mode 100644 Open-ILS/src/templates/conify/global/config/metabib_class.tt2 create mode 100644 Open-ILS/src/templates/conify/global/config/metabib_class_ts_map.tt2 create mode 100644 Open-ILS/src/templates/conify/global/config/metabib_field_ts_map.tt2 diff --git a/Open-ILS/src/templates/conify/global/config/metabib_class.tt2 b/Open-ILS/src/templates/conify/global/config/metabib_class.tt2 new file mode 100644 index 0000000000..ee2fe0cf28 --- /dev/null +++ b/Open-ILS/src/templates/conify/global/config/metabib_class.tt2 @@ -0,0 +1,25 @@ +[% WRAPPER base.tt2 %] +[% ctx.page_title = l('MARC Search Classes') %] +
+
+
[% l('Metabib Class') %]
+
+
+ +
+
+ + +[% END %] + + diff --git a/Open-ILS/src/templates/conify/global/config/metabib_class_ts_map.tt2 b/Open-ILS/src/templates/conify/global/config/metabib_class_ts_map.tt2 new file mode 100644 index 0000000000..4874ddf387 --- /dev/null +++ b/Open-ILS/src/templates/conify/global/config/metabib_class_ts_map.tt2 @@ -0,0 +1,29 @@ +[% WRAPPER base.tt2 %] +[% ctx.page_title = l('MARC Search Class FTS Config Maps') %] +
+
+
[% l('Metabib Class FTS Config Maps') %]
+
+ + +
+
+
+ +
+
+ + +[% END %] + + diff --git a/Open-ILS/src/templates/conify/global/config/metabib_field_ts_map.tt2 b/Open-ILS/src/templates/conify/global/config/metabib_field_ts_map.tt2 new file mode 100644 index 0000000000..1d79409327 --- /dev/null +++ b/Open-ILS/src/templates/conify/global/config/metabib_field_ts_map.tt2 @@ -0,0 +1,29 @@ +[% WRAPPER base.tt2 %] +[% ctx.page_title = l('MARC Search and Facet Fields FTS Configs') %] +
+
+
[% l('Metabib Field FTS Configs') %]
+
+ + +
+
+
+ +
+
+ + +[% END %] + + diff --git a/Open-ILS/web/opac/locale/en-US/lang.dtd b/Open-ILS/web/opac/locale/en-US/lang.dtd index f5880ff554..e0cb546b9a 100644 --- a/Open-ILS/web/opac/locale/en-US/lang.dtd +++ b/Open-ILS/web/opac/locale/en-US/lang.dtd @@ -758,7 +758,10 @@ + + + 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 322ca8ab55..29f09010dd 100644 --- a/Open-ILS/xul/staff_client/chrome/content/main/menu.js +++ b/Open-ILS/xul/staff_client/chrome/content/main/menu.js @@ -913,10 +913,22 @@ main.menu.prototype = { ['oncommand'], function(event) { open_eg_web_page('conify/global/config/coded_value_map', null, event); } ], + 'cmd_server_admin_metabib_class' : [ + ['oncommand'], + function(event) { open_eg_web_page('conify/global/config/metabib_class', null, event); } + ], + 'cmd_server_admin_metabib_class_ts_map' : [ + ['oncommand'], + function(event) { open_eg_web_page('conify/global/config/metabib_class_ts_map', null, event); } + ], 'cmd_server_admin_metabib_field' : [ ['oncommand'], function(event) { open_eg_web_page('conify/global/config/metabib_field', null, event); } ], + 'cmd_server_admin_metabib_field_ts_map' : [ + ['oncommand'], + function(event) { open_eg_web_page('conify/global/config/metabib_field_ts_map', null, event); } + ], 'cmd_server_admin_acn_prefix' : [ ['oncommand'], function(event) { open_eg_web_page('conify/global/config/acn_prefix', 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 7fe88a2483..8967f9c2a3 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 @@ -215,9 +215,15 @@ + + + @@ -600,7 +606,10 @@ + + + -- 2.11.0