[open-ils-commits] r18254 - in branches/rel_2_0/Open-ILS/web: js/ui/default/conify/global/action_trigger templates/default/conify/global/action_trigger (erickson)

svn at svn.open-ils.org svn at svn.open-ils.org
Fri Oct 8 17:11:29 EDT 2010


Author: erickson
Date: 2010-10-08 17:11:23 -0400 (Fri, 08 Oct 2010)
New Revision: 18254

Modified:
   branches/rel_2_0/Open-ILS/web/js/ui/default/conify/global/action_trigger/event_definition.js
   branches/rel_2_0/Open-ILS/web/templates/default/conify/global/action_trigger/event_definition.tt2
Log:
mild fixes for a/t interface admin interface.  sort by def name instead of hook, which probably makes more sense to a human.  hide the opt-in and max-delay columns to free up some badly needed horizontal space.  use percentage width for name column, which acts a lot like 'auto', but allows the user to manually resize

Modified: branches/rel_2_0/Open-ILS/web/js/ui/default/conify/global/action_trigger/event_definition.js
===================================================================
--- branches/rel_2_0/Open-ILS/web/js/ui/default/conify/global/action_trigger/event_definition.js	2010-10-08 21:10:43 UTC (rev 18253)
+++ branches/rel_2_0/Open-ILS/web/js/ui/default/conify/global/action_trigger/event_definition.js	2010-10-08 21:11:23 UTC (rev 18254)
@@ -17,7 +17,7 @@
     eventDefGranularity.attr('value', null);
     edGrid.overrideEditWidgets.granularity = eventDefGranularity;
     edGrid.overrideEditWidgets.granularity.shove = {"create": ""};
-    edGrid.loadAll({order_by:{atevdef : 'hook'}}); 
+    edGrid.loadAll({order_by:{atevdef : 'name'}}); 
     openils.widget.Textarea.width = '600px';
     openils.widget.Textarea.height = '600px';
     edGrid.overrideEditWidgetClass.template = 'openils.widget.Textarea';

Modified: branches/rel_2_0/Open-ILS/web/templates/default/conify/global/action_trigger/event_definition.tt2
===================================================================
--- branches/rel_2_0/Open-ILS/web/templates/default/conify/global/action_trigger/event_definition.tt2	2010-10-08 21:10:43 UTC (rev 18253)
+++ branches/rel_2_0/Open-ILS/web/templates/default/conify/global/action_trigger/event_definition.tt2	2010-10-08 21:11:23 UTC (rev 18254)
@@ -28,16 +28,15 @@
         <div dojoType="dijit.layout.ContentPane" layoutAlign="client" style='height:600px'>
             <table  jsId="edGrid" 
                     dojoType="openils.widget.AutoGrid" 
-                    fieldOrder="['owner', 'name', 'hook', 'active', 'delay', 'delay_field', 'group_field', 'validator', 'reactor']"
-                    suppressFields="['template', 'cleanup_failure', 'cleanup_success']"
+                    fieldOrder="['owner', 'name', 'hook', 'active', 'delay', 'delay_field', 'group_field', 'reactor', 'validator']"
+                    suppressFields="['usr_field', 'opt_in_setting', 'max_delay', 'template', 'cleanup_failure', 'cleanup_success']"
                     query="{id: '*'}" 
                     fmClass='atevdef'
-                    defaultCellWidth='"auto"'
                     editStyle='pane'
                     showPaginator='true'
                     editOnEnter='true'>
                 <thead>
-                    <tr><th field='name' get='getEventDefNameLink' formatter='formatEventDefNameLink'/></tr>
+                    <tr><th field='name' width='15%' get='getEventDefNameLink' formatter='formatEventDefNameLink'/></tr>
                 </thead>
             </table>
         </div>



More information about the open-ils-commits mailing list