Commit 19f02c97 authored by Jérome Perrin's avatar Jérome Perrin

* two tal:condition were not exclusive, so editable float fields with...

* two tal:condition were not exclusive, so editable float fields with precision 0 were not displayed.
* use the style "figure", because decimal style does not exist

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24854 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ea224fa7
...@@ -118,11 +118,11 @@ ...@@ -118,11 +118,11 @@
<text:p tal:content="python: field.render_pdf(value)" />\n <text:p tal:content="python: field.render_pdf(value)" />\n
</table:table-cell>\n </table:table-cell>\n
</tal:block>\n </tal:block>\n
<tal:block tal:condition="python: field.get_value(\'precision\') is None">\n <tal:block tal:condition="not: python: field.get_value(\'precision\')>0">\n
<table:table-cell tal:attributes="office:value value;\n <table:table-cell tal:attributes="office:value value;\n
table:style-name string:${style_prefix}decimal"\n table:style-name string:${style_prefix}figure"\n
office:value-type="float"\n office:value-type="float"\n
table:style-name="decimal">\n table:style-name="figure">\n
<text:p tal:content="python: field.render_pdf(value)" />\n <text:p tal:content="python: field.render_pdf(value)" />\n
</table:table-cell>\n </table:table-cell>\n
</tal:block> \n </tal:block> \n
......
160 162
\ 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