[open-ils-commits] r10353 -
branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/common
svn at svn.open-ils.org
svn at svn.open-ils.org
Wed Aug 13 12:36:54 EDT 2008
Author: erickson
Date: 2008-08-13 12:36:51 -0400 (Wed, 13 Aug 2008)
New Revision: 10353
Modified:
branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/common/jubgrid.html
Log:
Until some way is devised to force min-width on a column, give the title column a set width
so it won't get lost in 1024x768. other columns have to be forced to width:'auto' not to
get sloughed off the side
Modified: branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/common/jubgrid.html
===================================================================
--- branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/common/jubgrid.html 2008-08-13 15:56:07 UTC (rev 10352)
+++ branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/common/jubgrid.html 2008-08-13 16:36:51 UTC (rev 10353)
@@ -57,30 +57,30 @@
}
JUBGrid.jubGridLayout = [{
cells: [[
- {name: '${_("ID")}', field: 'id'},
- {name: '${_("Title")}', width: "auto", get:JUBGrid.getJUBTitle},
- {name: '${_("Author")}', get:JUBGrid.getJUBAuthor},
- {name: '${_("ISBN")}', get:JUBGrid.getJUBIsbn},
- {name: '${_("Pubdate")}', get:JUBGrid.getJUBPubdate},
+ {name: '${_("ID")}', field: 'id', width:'auto'},
+ {name: '${_("Title")}', width: "180px", get:JUBGrid.getJUBTitle},
+ {name: '${_("Author")}', get:JUBGrid.getJUBAuthor, width:'auto'},
+ {name: '${_("ISBN")}', get:JUBGrid.getJUBIsbn, width:'auto'},
+ {name: '${_("Pubdate")}', get:JUBGrid.getJUBPubdate, width:'auto'},
{name: '${_("Actual Price")}',
field:'actual_price',
get:JUBGrid.getJUBActualPrice,
- editor:dojox.grid.editors.Dijit,
+ editor:dojox.grid.editors.Dijit, width:'auto',
editorClass: "dijit.form.CurrencyTextBox"
},
{name: '${_("Estimated Price")}',
field:'estimated_price',
- get:JUBGrid.getJUBEstimatedPrice,
+ get:JUBGrid.getJUBEstimatedPrice, width:'auto',
editor:dojox.grid.editors.Dijit,
editorClass: "dijit.form.CurrencyTextBox"
},
- {name: '${_("Vendor")}',
+ {name: '${_("Vendor")}', width:'auto',
field: 'provider', get:JUBGrid.getProvider,
editor:openils.editors.ProviderSelectEditor,
},
- {name: '${_("No. Copies")}', field: 'item_count'},
- {name: '${_("State")}', field: 'state'},
- {name: '${_("PO")}', get:JUBGrid.getPO}
+ {name: '${_("No. Copies")}', field: 'item_count', width:'auto'},
+ {name: '${_("State")}', field: 'state', width:'auto'},
+ {name: '${_("PO")}', get:JUBGrid.getPO, width:'auto'}
]]
}];
More information about the open-ils-commits
mailing list