Commit cc055099 authored by Jérome Perrin's avatar Jérome Perrin

define render_text inside the macro for report_view

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@34156 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 1d94a79b
......@@ -132,10 +132,7 @@ bWxQSwUGAAAAAAIAAgCeAAAAhwwAAAAA</string> </value>
tal:attributes=\'dummy python:request.RESPONSE.setHeader("Content-Type", "text/html;; charset=utf-8")\'\n
tal:define="render_prefix render_prefix|nothing;\n
editable_mode request/editable_mode | nothing;\n
dummy python: editable_mode is None and here.REQUEST.set(\'editable_mode\', 0);\n
render_text python: lambda txt, attr_dict={}: context.Base_viewFieldLibrary.my_title.render_odt(value=txt,\n
REQUEST=request,\n
attr_dict=attr_dict);"\n
dummy python: editable_mode is None and here.REQUEST.set(\'editable_mode\', 0);"\n
office:version=\'1.0\'>\n
\n
<office:scripts/>\n
......@@ -223,7 +220,10 @@ bWxQSwUGAAAAAAIAAgCeAAAAhwwAAAAA</string> </value>
</text:sequence-decls>\n
<tal:block metal:define-macro="form_layout"\n
tal:define="dummy python: request.set(\'here\', here);\n
preference_tool python:here.getPortalObject().portal_preferences">\n
preference_tool python:here.getPortalObject().portal_preferences;\n
render_text python: lambda txt, attr_dict={}: context.Base_viewFieldLibrary.my_title.render_odt(value=txt,\n
REQUEST=request,\n
attr_dict=attr_dict);">\n
<!-- standard groups -->\n
<tal:block tal:repeat="group python: [g for g in form.get_groups() if g not in (\'bottom\', \'center\', \'hidden\')]">\n
<tal:block tal:define="field_list python: form.get_fields_in_group(group)">\n
......
90
\ No newline at end of file
91
\ 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