Commit bbea0871 authored by Yoshinori Okuji's avatar Yoshinori Okuji

Embed listbox_uid in the first data column.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@8148 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 23bb0fd8
......@@ -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&amp;form_id=form&amp;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>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment