Commit ad08a354 authored by Ivan Tyagov's avatar Ivan Tyagov

Use generic gadgets "API" introduced in r40915

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@40916 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 3c374695
...@@ -65,7 +65,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n ...@@ -65,7 +65,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n
<tal:block metal:use-macro="here/main_template/macros/master">\n <tal:block metal:use-macro="here/main_template/macros/master">\n
<tal:block metal:fill-slot="main">\n <tal:block metal:fill-slot="main">\n
<div class="front_pad">\n <div class="front_pad">\n
<div tal:content="structure here/WebSite_viewHomeAreaFormRenderer"\n <div tal:content="structure python: here.ERP5Site_viewHomeAreaRenderer(mode= \'web_front\', default_pad_group=\'\')"\n
class="draggable_wrapper"/>\n class="draggable_wrapper"/>\n
</div>\n </div>\n
</tal:block>\n </tal:block>\n
......
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
default_pad_group python: options.get(\'default_pad_group\', None);\n default_pad_group python: options.get(\'default_pad_group\', None);\n
knowledge_pads python: here.ERP5Site_getKnowledgePadListForUser(mode=mode,\n knowledge_pads python: here.ERP5Site_getKnowledgePadListForUser(mode=mode,\n
default_pad_group=default_pad_group);\n default_pad_group=default_pad_group);\n
struct python: here.WebSite_getActiveKnowledgePadForUser(knowledge_pads, default_pad_group);\n struct python: here.ERP5Site_getActiveKnowledgePadForUser(knowledge_pads, default_pad_group);\n
active_knowledge_pad python: struct[0];\n active_knowledge_pad python: struct[0];\n
current_web_section python:\n current_web_section python:\n
context.REQUEST.get(\'current_web_section\', here);\n context.REQUEST.get(\'current_web_section\', here);\n
......
1708 1709
\ 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