Commit fe74db1c authored by Yusuke Muraoka's avatar Yusuke Muraoka

2010-02-25 yusuke

* Fix a front page broken.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33110 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 3f5f94d0
......@@ -44,21 +44,22 @@
xmlns:i18n="http://xml.zope.org/namespaces/i18n"\n
tal:define="tab here/ERP5Site_getSelectedTab;\n
preferred_access_tab python:here.portal_preferences.getPreferredHtmlStyleAccessTab()">\n
<tal:block tal:condition="python:tab is not None and preferred_access_tab"\n
tal:define="tab_renderer_form_object python: getattr(here, tab[\'renderer\'], None)">\n
<metal:block use-macro="here/erp5_site_main_template/macros/master">\n
<metal:block fill-slot="tabs">\n
<tal:block tal:replace="structure python:here.ERP5Site_renderTabList(selected_tab=tab[\'id\'])" />\n
</metal:block>\n
<metal:block fill-slot="content">\n
<tal:block tal:condition="tab_renderer_form_object"\n
tal:replace="structure python: tab_renderer_form_object()" />\n
<tal:block tal:condition="not: tab_renderer_form_object">\n
Server side error.\n
</tal:block>\n
<tal:block tal:condition="python:tab is not None and preferred_access_tab">\n
<tal:block tal:define="tab_renderer_form_object python: getattr(here, tab[\'renderer\'], None)">\n
<metal:block use-macro="here/erp5_site_main_template/macros/master">\n
<metal:block fill-slot="tabs">\n
<tal:block tal:replace="structure python:here.ERP5Site_renderTabList(selected_tab=tab[\'id\'])" />\n
</metal:block>\n
<metal:block fill-slot="content">\n
<tal:block tal:condition="tab_renderer_form_object"\n
tal:replace="structure python: tab_renderer_form_object()" />\n
<tal:block tal:condition="not: tab_renderer_form_object">\n
Server side error.\n
</tal:block>\n
\n
</metal:block>\n
</metal:block>\n
</metal:block>\n
</tal:block>\n
</tal:block>\n
<tal:block tal:condition="python:tab is None or not preferred_access_tab">\n
<tal:block tal:replace="structure here/ERP5Site_viewClassicFrontPage" />\n
......
2010-02-25 yusuke
* Fix a front page broken.
2010-02-22 yo
* Stop form_render from relying on the type of editable_mode (i.e. int).
......
908
\ No newline at end of file
911
\ 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