[Erp5-report] r24711 - /erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateIte...
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed Nov 26 18:10:44 CET 2008
Author: vincent
Date: Wed Nov 26 18:10:43 2008
New Revision: 24711
URL: http://svn.erp5.org?rev=24711&view=rev
Log:
Hide cut, copy and paste buttons when user does not have required permission.
Modified:
erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/context_box_render.xml
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=24711&r1=24710&r2=24711&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] Wed Nov 26 18:10:43 2008
@@ -151,9 +151,10 @@
sort_actions actions/object_sort | nothing;\n
ui_actions actions/object_ui | nothing;\n
print_actions actions/object_print | nothing;\n
- list_mode list_mode | nothing">\n
+ list_mode list_mode | nothing;\n
+ can_modify_portal_content python: portal.portal_membership.checkPermission(\'Modify portal content\', here)">\n
<span class="separator"><!--separator--></span>\n
- <tal:block tal:condition="list_mode">\n
+ <tal:block tal:condition="python: list_mode and can_modify_portal_content">\n
<button class="cut" type="submit" name="Folder_cut:method" title="Cut"\n
i18n:attributes="title" i18n:domain="ui">\n
<span class="image"></span>\n
More information about the Erp5-report
mailing list