Commit 198e6c26 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

remove 'display "-" if cell is empty' logic, because it disables ImageField output completely.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@29184 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 6ec9932f
......@@ -296,15 +296,12 @@
original_value python: value[1];\n
error python: value[2];\n
editable_field python: value[3];\n
editable_field_css python: editable_field != None and editable_field.get_value(\'css_class\');\n
empty python: original_value in (\'\', None) and not request.get(\'editable_mode\')"\n
tal:attributes="class python: empty and \'emptyCell\' or nothing">\n
<tal:block tal:condition="empty"><span tal:attributes="class editable_field_css">-</span></tal:block>\n
editable_field_css python: editable_field != None and editable_field.get_value(\'css_class\')">\n
<input tal:condition="not: repeat/value/index"\n
type="hidden" value="1" name="listbox_uid:list"\n
tal:attributes="value python: line.getUid() or \'\';\n
name string:${field_id}_uid:list" />\n
<tal:block tal:condition="not: empty" tal:replace="structure html">value</tal:block>\n
<tal:block tal:replace="structure html">value</tal:block>\n
</td>\n
</tal:block>\n
</tr>\n
......
834
\ No newline at end of file
835
\ 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