Commit 45a367ba authored by Jean-Paul Smets's avatar Jean-Paul Smets

Pass list_mode and dialog_mode to request so that layout can decide to display...

Pass list_mode and dialog_mode to request so that layout can decide to display or not certain widgets based on the mode.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@15491 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent eb7d1cb0
...@@ -44,6 +44,12 @@ ...@@ -44,6 +44,12 @@
</object> </object>
</value> </value>
</item> </item>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item> <item>
<key> <string>_text</string> </key> <key> <string>_text</string> </key>
<value> <string encoding="cdata"><![CDATA[ <value> <string encoding="cdata"><![CDATA[
...@@ -115,6 +121,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n ...@@ -115,6 +121,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n
\n \n
<tal:block tal:repeat="aggregate python: layout_form.Form_getGroupList([\'header\', \'left\', \'right\', \'footer\'])"\n <tal:block tal:repeat="aggregate python: layout_form.Form_getGroupList([\'header\', \'left\', \'right\', \'footer\'])"\n
tal:define="dummy python: request.set(\'editable_mode\', True);\n tal:define="dummy python: request.set(\'editable_mode\', True);\n
dialog_mode dialog_mode | nothing;\n
list_mode list_mode | nothing;\n
dummy python: request.set(\'dialog_mode\', dialog_mode);\n
dummy python: request.set(\'list_mode\', list_mode);\n
dummy python: request.set(\'http_parameters\', http_parameters);\n dummy python: request.set(\'http_parameters\', http_parameters);\n
dummy python: request.set(\'actions\', actions);\n dummy python: request.set(\'actions\', actions);\n
dummy python: request.set(\'current_web_section\',\n dummy python: request.set(\'current_web_section\',\n
......
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