Commit 8dd9407b authored by Ivan Tyagov's avatar Ivan Tyagov

Clean up.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@37328 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 74f1a01c
...@@ -307,9 +307,9 @@ ...@@ -307,9 +307,9 @@
</thead>\n </thead>\n
\n \n
<tbody>\n <tbody>\n
<!-- Fill datas-->\n <!-- Render listbox data-->\n
<tal:block tal:condition="line_list"\n <tal:block tal:condition="line_list"\n
tal:define="checked_uid_set here/getCheckedUidSet">\n tal:define="checked_uid_set here/getCheckedUidSet">\n
<tr tal:repeat="line line_list" \n <tr tal:repeat="line line_list" \n
tal:attributes="\n tal:attributes="\n
id string:${field_id}_data_line_${repeat/line/index};\n id string:${field_id}_data_line_${repeat/line/index};\n
...@@ -329,19 +329,19 @@ ...@@ -329,19 +329,19 @@
</td>\n </td>\n
\n \n
<!--Anchor column -->\n <!--Anchor column -->\n
<td tal:condition="python:show_anchor_column"\n <td tal:condition="python:show_anchor_column"\n
class="AnchorColumn" \n class="AnchorColumn" \n
style="text-align: center; vertical-align: middle;">\n style="text-align: center; vertical-align: middle;">\n
<!--Use [0][4] ? :(-->\n <!--Use [0][4] ? :(-->\n
<a href="#" tal:attributes="href python:render_result[0][4]"><img src="document_icon.gif" alt="document" tal:attributes="src string:${portal_url_string}/images/line_clickable.png" /></a>\n <a href="#" tal:attributes="href python:render_result[0][4]">\n
<img src="document_icon.gif" alt="document" \n
tal:attributes="src string:${portal_url_string}/images/line_clickable.png" />\n
</a>\n
</td>\n </td>\n
\n \n
<!--Select column -->\n <!--Select column -->\n
<!--TODO Define the CSS class !-->\n
<td tal:condition="python: show_select_column"\n <td tal:condition="python: show_select_column"\n
class="select_cell" style="text-align: center; vertical-align: middle"\n class="select_cell" style="text-align: center; vertical-align: middle">\n
>\n
\n
<input tal:condition="python: not line.isSummary()"\n <input tal:condition="python: not line.isSummary()"\n
type="checkbox" id="listbox_cb_1" name="uids:list"\n type="checkbox" id="listbox_cb_1" name="uids:list"\n
tal:attributes="checked python: line.getUid() in checked_uid_set;\n tal:attributes="checked python: line.getUid() in checked_uid_set;\n
...@@ -350,22 +350,23 @@ ...@@ -350,22 +350,23 @@
</td>\n </td>\n
\n \n
<tal:block tal:repeat="value render_result">\n <tal:block tal:repeat="value render_result">\n
<!--Define many var but use only ONE !-->\n <!--Define many var but use only ONE !-->\n
<td tal:define="html python: value[0];\n <td tal:define="html python: value[0];\n
original_value python: value[1];\n original_value python: value[1];\n
error python: value[2];\n error python: value[2];\n
editable_field python: value[3];\n editable_field python: value[3];\n
editable_field_css python: editable_field != None and editable_field.get_value(\'css_class\')">\n editable_field_css python: editable_field != None and editable_field.get_value(\'css_class\')">\n
<input tal:condition="not: repeat/value/index"\n <input tal:condition="not: repeat/value/index"\n
type="hidden" value="1" name="listbox_uid:list"\n type="hidden" value="1" name="listbox_uid:list"\n
tal:attributes="value python: line.getUid() or \'\';\n tal:attributes="value python: line.getUid() or \'\';\n
name string:${field_id}_uid:list" />\n name string:${field_id}_uid:list" />\n
<tal:block tal:replace="structure html">value</tal:block>\n <tal:block tal:replace="structure html"/>\n
</td>\n </td>\n
</tal:block>\n </tal:block>\n
</tal:block>\n </tal:block>\n
</tr>\n </tr>\n
</tal:block>\n </tal:block>\n
\n
<!-- Hide row on no search criterion-->\n <!-- Hide row on no search criterion-->\n
<tr tal:condition="hide_rows_on_no_search_criterion"\n <tr tal:condition="hide_rows_on_no_search_criterion"\n
class="listbox_missing_search_criterion">\n class="listbox_missing_search_criterion">\n
...@@ -375,7 +376,8 @@ ...@@ -375,7 +376,8 @@
</span>\n </span>\n
</td>\n </td>\n
</tr>\n </tr>\n
\n \n
<!-- No results. -->\n
<tr tal:condition="python: total_line == 0 and not hide_rows_on_no_search_criterion">\n <tr tal:condition="python: total_line == 0 and not hide_rows_on_no_search_criterion">\n
<td tal:attributes="colspan python: len(here.getSearchValueList()) + 1">\n <td tal:attributes="colspan python: len(here.getSearchValueList()) + 1">\n
<span class="listbox_no_result" i18n:translate="" i18n:domain="ui">\n <span class="listbox_no_result" i18n:translate="" i18n:domain="ui">\n
......
1496 1497
\ No newline at end of file \ No newline at end of file
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