Add a control for the hold_priority field in the permission group UI
authorsenator <senator@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 4 Oct 2010 15:40:21 +0000 (15:40 +0000)
committersenator <senator@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 4 Oct 2010 15:40:21 +0000 (15:40 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@18150 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/conify/global/permission/grp_tree.html
Open-ILS/web/opac/locale/en-US/conify.dtd

index 6950484..f55863b 100644 (file)
                                                }
 
                                                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 );
 ]]>
                                                                </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
index 8b3648a..6a878e5 100644 (file)
  <!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">