grid height/width fixes
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 15 May 2009 17:13:04 +0000 (17:13 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 15 May 2009 17:13:04 +0000 (17:13 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13171 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/templates/default/conify/global/config/circ_matrix_matchpoint.tt2
Open-ILS/web/templates/default/conify/global/config/hold_matrix_matchpoint.tt2

index e18d30b..a733cfb 100644 (file)
     <div>Circulation Policy Configuration</div>
     <div><button dojoType='dijit.form.Button' onClick='cmGrid.showCreatePane()'>New</button></div>
 </div>
-<div dojoType="dijit.layout.ContentPane" layoutAlign="client" style='height:600px;'>
+<div dojoType="dijit.layout.ContentPane" layoutAlign="client">
     <table  jsId="cmGrid" 
+            autoHeight='true'
             dojoType="openils.widget.AutoGrid" 
             fieldOrder="['id', 'active', 'org_unit', 'grp', 'circ_modifier', 'marc_type', 'marc_form', 'marc_vr_format']"
-            defaultCellWidth='12'
+            suppressFields="['circulate', 'duration_rule', 'max_fine_rule', 'recurring_fine_rule', 'script_test']"
+            defaultCellWidth='"auto"'
             query="{id: '*'}" 
             fmClass='ccmm' 
             editStyle='pane'
             editOnEnter='true'>
     </table>
+    <div/>
 </div>
 [% END %]
index f92924f..be7a885 100644 (file)
     <div>Hold Policy Configuration</div>
     <div><button dojoType='dijit.form.Button' onClick='hmGrid.showCreatePane()'>New</button></div>
 </div>
-<div dojoType="dijit.layout.ContentPane" layoutAlign="client" style='height:600px;'>
+<div dojoType="dijit.layout.ContentPane" layoutAlign="client">
     <table  jsId="hmGrid" 
+            autoHeight='true'
             dojoType="openils.widget.AutoGrid" 
             fieldOrder="['id', 'user_home_ou', 'request_ou', 'pickup_ou', 'item_owning_ou', 'item_circ_ou', 'usr_grp', 'requestor_grp', 'circ_modifier']"
+            suppressFields="['holdable', 'max_holds', 'transit_range', 'include_frozen_holds', 'stop_blocked_user', 'age_hold_protect_rule' ]"
+            defaultCellWidth='"auto"'
             query="{id: '*'}" 
             fmClass='chmm' 
             editStyle='pane'
             editOnEnter='true'>
     </table>
+    <div/>
 </div>
 [% END %]