From: James Fournie Date: Thu, 7 Jul 2011 02:07:50 +0000 (-0700) Subject: Adds org unit selectors to Admin -> Server Admin -> Booking menu items, also modifies X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=42a818eff95d3f9eef9015d66f7e1d5936c74118;p=contrib%2FConifer.git Adds org unit selectors to Admin -> Server Admin -> Booking menu items, also modifies the IDL to give context-field based pcrud perms instead of 'require global' This makes the booking module more org-unit scopable Signed-off-by: James Fournie Signed-off-by: Mike Rylander --- diff --git a/Open-ILS/examples/fm_IDL.xml b/Open-ILS/examples/fm_IDL.xml index 36046370b6..052631f517 100644 --- a/Open-ILS/examples/fm_IDL.xml +++ b/Open-ILS/examples/fm_IDL.xml @@ -3416,10 +3416,10 @@ SELECT usr, - - - - + + + + @@ -3448,10 +3448,10 @@ SELECT usr, - - - - + + + + @@ -3474,10 +3474,10 @@ SELECT usr, - - - - + + + + @@ -3499,10 +3499,10 @@ SELECT usr, - - - - + + + + @@ -3521,10 +3521,18 @@ SELECT usr, - - - - + + + + + + + + + + + + diff --git a/Open-ILS/web/templates/default/conify/global/booking/resource.tt2 b/Open-ILS/web/templates/default/conify/global/booking/resource.tt2 index 380edad218..4e3fe1f371 100644 --- a/Open-ILS/web/templates/default/conify/global/booking/resource.tt2 +++ b/Open-ILS/web/templates/default/conify/global/booking/resource.tt2 @@ -1,13 +1,21 @@ [% WRAPPER default/base.tt2 %] [% ctx.page_title = 'Resources' %] -
-
-
Resources
-
- - -
+
+
Resources
+
+ +
+
+
+ Context Org Unit + +
+
- diff --git a/Open-ILS/web/templates/default/conify/global/booking/resource_attr_map.tt2 b/Open-ILS/web/templates/default/conify/global/booking/resource_attr_map.tt2 index 5e35b118bd..a691fa3e6d 100644 --- a/Open-ILS/web/templates/default/conify/global/booking/resource_attr_map.tt2 +++ b/Open-ILS/web/templates/default/conify/global/booking/resource_attr_map.tt2 @@ -1,18 +1,27 @@ [% WRAPPER default/base.tt2 %] [% ctx.page_title = 'Resource Attribute Maps' %] -
-
-
Resource Attribute Maps
-
- - -
+
+
Resource Attribute Maps
+
+ +
+
+
+ Context Org Unit + +
+
@@ -21,15 +30,33 @@ diff --git a/Open-ILS/web/templates/default/conify/global/booking/resource_attr_value.tt2 b/Open-ILS/web/templates/default/conify/global/booking/resource_attr_value.tt2 index af1c5a73b3..3593db9f26 100644 --- a/Open-ILS/web/templates/default/conify/global/booking/resource_attr_value.tt2 +++ b/Open-ILS/web/templates/default/conify/global/booking/resource_attr_value.tt2 @@ -1,18 +1,27 @@ [% WRAPPER default/base.tt2 %] [% ctx.page_title = 'Resource Attribute Values' %] -
-
-
Resource Attribute Values
-
- - -
+
+
Resource Attribute Values
+
+ +
+
+
+ Context Org Unit + +
+
@@ -21,10 +30,29 @@ diff --git a/Open-ILS/web/templates/default/conify/global/booking/resource_type.tt2 b/Open-ILS/web/templates/default/conify/global/booking/resource_type.tt2 index 36afba7f00..ac4c3a42cd 100644 --- a/Open-ILS/web/templates/default/conify/global/booking/resource_type.tt2 +++ b/Open-ILS/web/templates/default/conify/global/booking/resource_type.tt2 @@ -1,6 +1,5 @@ [% WRAPPER default/base.tt2 %] [% ctx.page_title = 'Resource Types' %] -
Resource Types
@@ -8,6 +7,15 @@
+
+ Context Org Unit + +
+
@@ -24,10 +33,28 @@