[Erp5-report] r36313 jerome - in /erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style: Skin...
nobody at svn.erp5.org
nobody at svn.erp5.org
Mon Jun 14 17:39:44 CEST 2010
Author: jerome
Date: Mon Jun 14 17:39:37 2010
New Revision: 36313
URL: http://svn.erp5.org?rev=36313&view=rev
Log:
drop support for add_action which is not used anymore, and was just a wrong hack
Modified:
erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_access_tab/ERP5Site_getCategorizedModuleActionInformationDict.xml
erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/context_box_render.xml
erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision
Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_access_tab/ERP5Site_getCategorizedModuleActionInformationDict.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_access_tab/ERP5Site_getCategorizedModuleActionInformationDict.xml?rev=36313&r1=36312&r2=36313&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_access_tab/ERP5Site_getCategorizedModuleActionInformationDict.xml [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_access_tab/ERP5Site_getCategorizedModuleActionInformationDict.xml [utf8] Mon Jun 14 17:39:37 2010
@@ -131,13 +131,6 @@ def getModuleActionInformationDict(**kw)
template_name = Base_translateString(\'${template_title} (Template)\',\n
mapping=dict(template_title=template.getTitle()))\n
module_add_list.append((template_name, url))\n
- for add_action in action_dict.get(\'object_add\', ()):\n
- url = renderCustomLink(add_action[\'url\'],\n
- dict(cancel_url=cancel_url,\n
- form_id=form_id,\n
- selection_name=selection_name,\n
- select_action=action))\n
- module_add_list.append((Base_translateString(add_action[\'name\']), url))\n
if module_add_list:\n
add_list.append((translated_title, module_add_list))\n
\n
Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/context_box_render.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/context_box_render.xml?rev=36313&r1=36312&r2=36313&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/context_box_render.xml [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/context_box_render.xml [utf8] Mon Jun 14 17:39:37 2010
@@ -88,10 +88,6 @@
i18n:translate="" i18n:domain="ui">Add <tal:block tal:content="content_id"\n
i18n:name="portal_type" i18n:translate="" i18n:domain="ui" /></option>\n
</tal:block>\n
- <tal:block tal:repeat="action actions/object_add | nothing">\n
- <option tal:attributes="value string:object ${action/url}"\n
- i18n:translate="" i18n:domain="ui">Add <tal:block tal:content="action/name" i18n:name="portal_type" i18n:translate="" /></option>\n
- </tal:block>\n
<tal:block tal:define="document_template_list here/getDocumentTemplateList | nothing"\n
tal:condition="document_template_list">\n
<option disabled="disabled">-- <tal:block i18n:translate="" i18n:domain="ui">Templates</tal:block> --</option>\n
Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision?rev=36313&r1=36312&r2=36313&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision [utf8] Mon Jun 14 17:39:37 2010
@@ -1 +1 @@
-952
\ No newline at end of file
+953
\ No newline at end of file
More information about the Erp5-report
mailing list