[open-ils-commits] r12755 - in trunk/Open-ILS/web/templates/default: acq/financial conify/global/acq (erickson)
svn at svn.open-ils.org
svn at svn.open-ils.org
Wed Apr 1 16:07:30 EDT 2009
Author: erickson
Date: 2009-04-01 16:07:26 -0400 (Wed, 01 Apr 2009)
New Revision: 12755
Added:
trunk/Open-ILS/web/templates/default/acq/financial/list_currency_types.tt2
Removed:
trunk/Open-ILS/web/templates/default/conify/global/acq/currency_type.tt2
Log:
updated, autogrid-ified currency_type list page
Added: trunk/Open-ILS/web/templates/default/acq/financial/list_currency_types.tt2
===================================================================
--- trunk/Open-ILS/web/templates/default/acq/financial/list_currency_types.tt2 (rev 0)
+++ trunk/Open-ILS/web/templates/default/acq/financial/list_currency_types.tt2 2009-04-01 20:07:26 UTC (rev 12755)
@@ -0,0 +1,30 @@
+[% WRAPPER default/base.tt2 %]
+<script>
+ dojo.require('dijit.layout.ContentPane');
+ dojo.require('dijit.form.Button');
+ dojo.require('openils.widget.AutoGrid');
+ dojo.require('openils.Util');
+ openils.Util.addOnLoad(
+ function() {
+ ctGrid.loadAll({order_by:{ccm : 'name'}});
+ }
+ );
+</script>
+
+<div dojoType="dijit.layout.ContentPane" layoutAlign="top" class='oils-header-panel'>
+ <div>Currency Type</div>
+ <div><button dojoType='dijit.form.Button' onClick='ctGrid.showCreateDialog()'>New</button></div>
+</div>
+<div dojoType="dijit.layout.ContentPane" layoutAlign="client" style='height:600px;'>
+ <table jsId="ctGrid"
+ dojoType="openils.widget.AutoGrid"
+ fieldOrder="['code', 'label']"
+ defaultCellWidth='25'
+ query="{code: '*'}"
+ fmClass='acqct'
+ editOnEnter='true'>
+ </table>
+</div>
+[% END %]
+
+
Deleted: trunk/Open-ILS/web/templates/default/conify/global/acq/currency_type.tt2
===================================================================
--- trunk/Open-ILS/web/templates/default/conify/global/acq/currency_type.tt2 2009-04-01 19:44:31 UTC (rev 12754)
+++ trunk/Open-ILS/web/templates/default/conify/global/acq/currency_type.tt2 2009-04-01 20:07:26 UTC (rev 12755)
@@ -1,26 +0,0 @@
-[% WRAPPER default/base.tt2 %]
-<script>
- dojo.require('openils.widget.AutoGrid');
- openils.Util.addOnLoad(
- function() {
- grid.loadAll({order_by:{acqct : 'code'}});
- }
- );
-</script>
-<div dojoType="dijit.layout.ContentPane" layoutAlign="top" class='oils-header-panel'>
- <div>Currency Type</div>
- <div><button dojoType='dijit.form.Button' onClick='grid.showCreateDialog()'>New</button></div>
-</div>
-<div dojoType="dijit.layout.ContentPane" layoutAlign="client" style='height:600px;'>
- <table jsId="grid"
- dojoType="openils.widget.AutoGrid"
- fieldOrder="['code', 'label']"
- defaultCellWidth='12'
- query="{code: '*'}"
- fmClass='acqct'
- editOnEnter='true'>
- </table>
-</div>
-[% END %]
-
-
More information about the open-ils-commits
mailing list