r13784 - Products.DataGridField/branches/cp-multiselectcolumn/Products/DataGridField/skins/DataGridWidget
"Gauthier Bastien" <[email protected]> Tue, 30 Aug 2011 09:52:05 +0000
| Newsgroups | gmane.comp.web.zope.plone.archetypes.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: gbastien
Date: Tue Aug 30 09:52:05 2011
New Revision: 13784
Modified:
Products.DataGridField/branches/cp-multiselectcolumn/Products/DataGridField/skins/DataGridWidget/datagridwidget_view_row.pt
Log:
Respect default odd/even row Plone behaviour
Modified: Products.DataGridField/branches/cp-multiselectcolumn/Products/DataGridField/skins/DataGridWidget/datagridwidget_view_row.pt
==============================================================================
--- Products.DataGridField/branches/cp-multiselectcolumn/Products/DataGridField/skins/DataGridWidget/datagridwidget_view_row.pt (original)
+++ Products.DataGridField/branches/cp-multiselectcolumn/Products/DataGridField/skins/DataGridWidget/datagridwidget_view_row.pt Tue Aug 30 09:52:05 2011
@@ -20,7 +20,7 @@
<!-- VIEW -->
<metal:define define-macro="view_row">
<tr tal:define="oddrow repeat/rows/odd"
- tal:attributes="class python:field.allow_oddeven and (oddrow and 'odd' or 'even') or nothing;">
+ tal:attributes="class python:field.allow_oddeven and (oddrow and 'even' or 'odd') or nothing;">
<tal:block tal:repeat="columnd columns">
<td tal:define="col_cls string:col-${repeat/columnd/number}"
tal:attributes="class python:not columnd['visible'] and 'dgw-hidden-column %s' or col_cls;">
------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev