From 8b37172571a88bec748567085157751dde3a7f60 Mon Sep 17 00:00:00 2001 From: phasefx Date: Wed, 15 Aug 2007 18:04:27 +0000 Subject: [PATCH] UI for user-org-opt-in feature git-svn-id: svn://svn.open-ils.org/ILS/trunk@7680 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- .../staff_client/chrome/content/main/constants.js | 3 ++ .../server/main/gen_offline_widgets.xul | 19 ++++++++--- .../staff_client/server/patron/barcode_entry.xul | 37 ++++++++++++++++++++-- 3 files changed, 52 insertions(+), 7 deletions(-) diff --git a/Open-ILS/xul/staff_client/chrome/content/main/constants.js b/Open-ILS/xul/staff_client/chrome/content/main/constants.js index c33a5f190c..e5bbd79575 100644 --- a/Open-ILS/xul/staff_client/chrome/content/main/constants.js +++ b/Open-ILS/xul/staff_client/chrome/content/main/constants.js @@ -173,6 +173,9 @@ const api = { 'MERGE_RECORDS' : { 'app' : 'open-ils.cat', 'method' : 'open-ils.cat.biblio.records.merge' }, 'PATRON_BARCODE_EXISTS' : { 'app' : 'open-ils.actor', 'method' : 'open-ils.actor.barcode.exists' }, 'RECALCULATE_STANDING_PENALTIES' : { 'app' : 'open-ils.actor', 'method' : 'open-ils.actor.user.penalties.update' }, + 'USER_ORG_UNIT_OPT_IN_FEATURE' : { 'app' : 'open-ils.actor', 'method' : 'open-ils.actor.user.org_unit_opt_in.enabled' }, + 'USER_ORG_UNIT_OPT_IN_CHECK' : { 'app' : 'open-ils.actor', 'method' : 'open-ils.actor.user.org_unit_opt_in.check' }, + 'USER_ORG_UNIT_OPT_IN_CREATE' : { 'app' : 'open-ils.actor', 'method' : 'open-ils.actor.user.org_unit_opt_in.create' }, } const urls = { diff --git a/Open-ILS/xul/staff_client/server/main/gen_offline_widgets.xul b/Open-ILS/xul/staff_client/server/main/gen_offline_widgets.xul index 2b936c0ecf..5649b02290 100644 --- a/Open-ILS/xul/staff_client/server/main/gen_offline_widgets.xul +++ b/Open-ILS/xul/staff_client/server/main/gen_offline_widgets.xul @@ -19,7 +19,7 @@ @@ -34,9 +34,8 @@