[Erp5-report] r8148 - /erp5/trunk/products/ERP5Form/www/ListBox_asHTML.zpt
nobody at svn.erp5.org
nobody at svn.erp5.org
Fri Jun 23 07:46:00 CEST 2006
Author: yo
Date: Fri Jun 23 07:45:58 2006
New Revision: 8148
URL: http://svn.erp5.org?rev=8148&view=rev
Log:
Embed listbox_uid in the first data column.
Modified:
erp5/trunk/products/ERP5Form/www/ListBox_asHTML.zpt
Modified: erp5/trunk/products/ERP5Form/www/ListBox_asHTML.zpt
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Form/www/ListBox_asHTML.zpt?rev=8148&r1=8147&r2=8148&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Form/www/ListBox_asHTML.zpt (original)
+++ erp5/trunk/products/ERP5Form/www/ListBox_asHTML.zpt Fri Jun 23 07:45:58 2006
@@ -272,8 +272,6 @@
<td tal:condition="is_report_tree_mode" class="DataA" align="left" valign="middle"
tal:attributes="class css"
tal:define="section_name python: line.getContext() is not None and line.getContext().getTitleOrId() or ''">
- <input type="hidden" value="1" name="listbox_uid:list"
- tal:attributes="value python: line.getUid() or ''; name string:${field_id}_uid:list" />
<a tal:condition="section_name"
href="portal_selections/foldReport?report_url=base_domain&form_id=form&list_selection_name=default"
tal:define="method_id python: line.isOpen() and 'foldReport' or 'unfoldReport'"
@@ -296,8 +294,13 @@
error python: value[2]"
class="DataA" align="left"
tal:attributes="class python: error and (css + 'Error') or css;
- align python: isinstance(original_value, (float, int, long)) and 'right' or 'left'"
- tal:content="structure html" />
+ align python: isinstance(original_value, (float, int, long)) and 'right' or 'left'">
+ <input tal:condition="not: repeat/value/index"
+ type="hidden" value="1" name="listbox_uid:list"
+ tal:attributes="value python: line.getUid() or '';
+ name string:${field_id}_uid:list" />
+ <span tal:replace="structure html">value</span>
+ </td>
</tal:block>
</tr>
</tal:block>
More information about the Erp5-report
mailing list