[open-ils-commits] r18150 - in trunk/Open-ILS/web: conify/global/permission opac/locale/en-US (senator)

svn at svn.open-ils.org svn at svn.open-ils.org
Mon Oct 4 11:40:24 EDT 2010


Author: senator
Date: 2010-10-04 11:40:21 -0400 (Mon, 04 Oct 2010)
New Revision: 18150

Modified:
   trunk/Open-ILS/web/conify/global/permission/grp_tree.html
   trunk/Open-ILS/web/opac/locale/en-US/conify.dtd
Log:
Add a control for the hold_priority field in the permission group UI


Modified: trunk/Open-ILS/web/conify/global/permission/grp_tree.html
===================================================================
--- trunk/Open-ILS/web/conify/global/permission/grp_tree.html	2010-10-04 14:02:16 UTC (rev 18149)
+++ trunk/Open-ILS/web/conify/global/permission/grp_tree.html	2010-10-04 15:40:21 UTC (rev 18150)
@@ -196,6 +196,7 @@
 						}
 
 						editor_pane_application_perm.setValue( this.store.getValue( current_group, 'application_perm' ) );
+						editor_pane_hold_priority.setValue( this.store.getValue( current_group, 'hold_priority' ) );
 
 						editor_pane_usergroup.setChecked( this.store.getValue( current_group, 'usergroup' ) == 't' ? true : false );
 ]]>
@@ -288,6 +289,24 @@
 								</td>
 							</tr>
 							<tr>
+								<th>&conify.grp_tree.hold_priority.label;</th>
+								<td>
+									<div
+									  id="editor_pane_hold_priority"
+									  dojoType="dijit.form.NumberSpinner"
+									  jsId="editor_pane_hold_priority"
+									>
+										<script type="dojo/connect" event="onChange">
+<![CDATA[
+											if (current_group && this.getValue()) {
+												group_store.setValue( current_group, "hold_priority", this.getValue() );
+											}
+]]>
+										</script>
+									</div>
+								</td>
+							</tr>
+							<tr>
 								<th>&conify.grp_tree.parent_group.label;</th>
 								<td>
 									<div

Modified: trunk/Open-ILS/web/opac/locale/en-US/conify.dtd
===================================================================
--- trunk/Open-ILS/web/opac/locale/en-US/conify.dtd	2010-10-04 14:02:16 UTC (rev 18149)
+++ trunk/Open-ILS/web/opac/locale/en-US/conify.dtd	2010-10-04 15:40:21 UTC (rev 18150)
@@ -113,6 +113,7 @@
  <!ENTITY conify.grp_tree.group_name.label "Group Name">
  <!ENTITY conify.grp_tree.description.label "Description">
  <!ENTITY conify.grp_tree.permission_interval.label "Permission Interval">
+ <!ENTITY conify.grp_tree.hold_priority.label "Hold Priority">
  <!ENTITY conify.grp_tree.editing_permission.label "Editing Permission">
  <!ENTITY conify.grp_tree.parent_group.label "Parent Group">
  <!ENTITY conify.grp_tree.user_group.label "User Group">



More information about the open-ils-commits mailing list