From 99041285cd267a9172cb50674a4102dbc52190ea Mon Sep 17 00:00:00 2001 From: erickson Date: Mon, 23 Aug 2010 19:19:51 +0000 Subject: [PATCH] conify UIs for config.rule_ stuff; Includes duration, recurring fine, max fine, and age hold protect git-svn-id: svn://svn.open-ils.org/ILS/trunk@17316 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/web/opac/locale/en-US/lang.dtd | 4 +++ .../global/config/rule_age_hold_protect.tt2 | 27 +++++++++++++++++++ .../global/config/rule_circ_duration.tt2 | 27 +++++++++++++++++++ .../conify/global/config/rule_max_fine.tt2 | 27 +++++++++++++++++++ .../global/config/rule_recurring_fine.tt2 | 27 +++++++++++++++++++ .../staff_client/chrome/content/main/menu.js | 16 +++++++++++ .../chrome/content/main/menu_frame_menus.xul | 8 ++++++ 7 files changed, 136 insertions(+) create mode 100644 Open-ILS/web/templates/default/conify/global/config/rule_age_hold_protect.tt2 create mode 100644 Open-ILS/web/templates/default/conify/global/config/rule_circ_duration.tt2 create mode 100644 Open-ILS/web/templates/default/conify/global/config/rule_max_fine.tt2 create mode 100644 Open-ILS/web/templates/default/conify/global/config/rule_recurring_fine.tt2 diff --git a/Open-ILS/web/opac/locale/en-US/lang.dtd b/Open-ILS/web/opac/locale/en-US/lang.dtd index f9d41a70a4..53c93828c3 100644 --- a/Open-ILS/web/opac/locale/en-US/lang.dtd +++ b/Open-ILS/web/opac/locale/en-US/lang.dtd @@ -697,6 +697,10 @@ + + + + diff --git a/Open-ILS/web/templates/default/conify/global/config/rule_age_hold_protect.tt2 b/Open-ILS/web/templates/default/conify/global/config/rule_age_hold_protect.tt2 new file mode 100644 index 0000000000..66677f11ed --- /dev/null +++ b/Open-ILS/web/templates/default/conify/global/config/rule_age_hold_protect.tt2 @@ -0,0 +1,27 @@ +[% WRAPPER default/base.tt2 %] +[% ctx.page_title = 'Age Hold Protect Rules' %] + +
+
+
Age Hold Protect Rules
+
+ + +
+
+
+ + +[% END %] + + diff --git a/Open-ILS/web/templates/default/conify/global/config/rule_circ_duration.tt2 b/Open-ILS/web/templates/default/conify/global/config/rule_circ_duration.tt2 new file mode 100644 index 0000000000..70dd12d1ef --- /dev/null +++ b/Open-ILS/web/templates/default/conify/global/config/rule_circ_duration.tt2 @@ -0,0 +1,27 @@ +[% WRAPPER default/base.tt2 %] +[% ctx.page_title = 'Circ Duration Rules' %] + +
+
+
Circ Duration Rules
+
+ + +
+
+
+
+ +[% END %] + + diff --git a/Open-ILS/web/templates/default/conify/global/config/rule_max_fine.tt2 b/Open-ILS/web/templates/default/conify/global/config/rule_max_fine.tt2 new file mode 100644 index 0000000000..acfd720a57 --- /dev/null +++ b/Open-ILS/web/templates/default/conify/global/config/rule_max_fine.tt2 @@ -0,0 +1,27 @@ +[% WRAPPER default/base.tt2 %] +[% ctx.page_title = 'Circ Max Fine Rules' %] + +
+
+
Circ Max Fine Rules
+
+ + +
+
+
+
+ +[% END %] + + diff --git a/Open-ILS/web/templates/default/conify/global/config/rule_recurring_fine.tt2 b/Open-ILS/web/templates/default/conify/global/config/rule_recurring_fine.tt2 new file mode 100644 index 0000000000..c561b613d9 --- /dev/null +++ b/Open-ILS/web/templates/default/conify/global/config/rule_recurring_fine.tt2 @@ -0,0 +1,27 @@ +[% WRAPPER default/base.tt2 %] +[% ctx.page_title = 'Recurring Fine Rules' %] + +
+
+
Recurring Fine Rules
+
+ + +
+
+
+
+ +[% 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 9099a0f14c..9a462471a2 100644 --- a/Open-ILS/xul/staff_client/chrome/content/main/menu.js +++ b/Open-ILS/xul/staff_client/chrome/content/main/menu.js @@ -617,6 +617,22 @@ main.menu.prototype = { ['oncommand'], function() { open_eg_web_page('conify/global/permission/grp_penalty_threshold'); } ], + 'cmd_local_admin_config_rule_circ_duration' : [ + ['oncommand'], + function() { open_eg_web_page('conify/global/config/rule/circ_duration'); } + ], + 'cmd_local_admin_config_rule_recurring_fine' : [ + ['oncommand'], + function() { open_eg_web_page('conify/global/config/rule/recurring_fine'); } + ], + 'cmd_local_admin_config_rule_max_fine' : [ + ['oncommand'], + function() { open_eg_web_page('conify/global/config/rule/max_fine'); } + ], + 'cmd_local_admin_config_rule_age_hold_protect' : [ + ['oncommand'], + function() { open_eg_web_page('conify/global/config/rule/age_hold_protect'); } + ], 'cmd_local_admin_external_text_editor' : [ ['oncommand'], function() { 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 24a6942e48..d65d934f93 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 @@ -159,6 +159,10 @@ + + + + @@ -385,6 +389,10 @@ + + + + -- 2.43.2