[Erp5-report] r31664 ivan - in /erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style: SkinTe...
nobody at svn.erp5.org
nobody at svn.erp5.org
Fri Jan 8 12:55:16 CET 2010
Author: ivan
Date: Fri Jan 8 12:55:13 2010
New Revision: 31664
URL: http://svn.erp5.org?rev=31664&view=rev
Log:
Partially revert r31656.
In list_mode when doing side wide full text search using top, right input container is equal to Zope application object where getVisibleAllowedContentTypeList is not available.
Modified:
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_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=31664&r1=31663&r2=31664&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] Fri Jan 8 12:55:13 2010
@@ -156,8 +156,7 @@
can_modify_portal_content python: portal.portal_membership.checkPermission(\'Modify portal content\', here);\n
can_delete_objects python: portal.portal_membership.checkPermission(\'Delete objects\', here);\n
can_copy_or_move python: portal.portal_membership.checkPermission(\'Copy Or Move\', here);\n
- can_add_object_here python: len(here.getVisibleAllowedContentTypeList()) > 0;\n
- can_add_object_in_container python: len(container.getVisibleAllowedContentTypeList()) > 0">\n
+ can_add_object_here python: len(here.getVisibleAllowedContentTypeList()) > 0;">\n
<span class="separator"><!--separator--></span>\n
<tal:block tal:condition="list_mode">\n
<tal:block tal:condition="can_copy_or_move">\n
@@ -185,7 +184,7 @@
<span class="image"></span>\n
<span class="description" i18n:translate="" i18n:domain="ui">Print</span>\n
</button>\n
- <button tal:condition="python: list_mode and can_add_object_here or can_add_object_in_container"\n
+ <button tal:condition="python: list_mode and can_add_object_here"\n
tal:attributes="name python: list_mode and \'Folder_create:method\' or \'Base_createNewDocument:method\'"\n
class="new" type="submit" title="New"\n
i18n:attributes="title" i18n:domain="ui">\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=31664&r1=31663&r2=31664&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] Fri Jan 8 12:55:13 2010
@@ -1,1 +1,1 @@
-865
+867
More information about the Erp5-report
mailing list