Commit 04b19555 authored by Gabriel Monnerat's avatar Gabriel Monnerat

added layout_form attribute

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41231 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent fcac8d86
...@@ -42,6 +42,8 @@ ...@@ -42,6 +42,8 @@
<tal:block tal:define="website here/getWebSiteValue;\n <tal:block tal:define="website here/getWebSiteValue;\n
portal_path python:website.absolute_url();\n portal_path python:website.absolute_url();\n
dummy python: request.set(\'editable_mode\', 0);\n dummy python: request.set(\'editable_mode\', 0);\n
layout_form_id request/layout_form_id | here/getApplicableLayout | nothing;\n
layout_form python: layout_form_id and getattr(here, layout_form_id, None) or None;\n
has_no_layout python: layout_form is None;\n has_no_layout python: layout_form is None;\n
has_editor python: here.absolute_url() != portal_path;\n has_editor python: here.absolute_url() != portal_path;\n
aggregate python: has_no_layout or layout_form.Form_getGroupList(\n aggregate python: has_no_layout or layout_form.Form_getGroupList(\n
......
105 106
\ 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