--- a/src/pyams_content/shared/common/zmi/manager.py Tue Nov 15 09:49:27 2016 +0100
+++ b/src/pyams_content/shared/common/zmi/manager.py Tue Dec 20 17:14:08 2016 +0100
@@ -20,7 +20,7 @@
from pyams_content.shared.common.interfaces import ISharedTool
from pyams_form.interfaces.form import IWidgetForm, IFormHelp
from pyams_i18n.interfaces import II18n, II18nManager
-from pyams_skin.interfaces import IInnerPage, IPageHeader, IContentTitle, IUserSkinnable
+from pyams_skin.interfaces import IInnerPage, IPageHeader, IContentTitle
from pyams_skin.interfaces.viewlet import IMenuHeader, IBreadcrumbItem
from pyams_skin.layer import IPyAMSLayer
from pyams_utils.interfaces import VIEW_SYSTEM_PERMISSION
@@ -99,14 +99,7 @@
legend = _("Shared tool properties")
- @property
- def fields(self):
- fields = field.Fields(ISharedTool).omit('__parent__', '__name__')
- if IUserSkinnable.providedBy(self.context):
- fields += field.Fields(IUserSkinnable)
- if not self.getContent().can_inherit_skin:
- fields = fields.omit('inherit_skin')
- return fields
+ fields = field.Fields(ISharedTool).omit('__parent__', '__name__')
ajax_handler = 'properties.json'
edit_permission = MANAGE_TOOL_PERMISSION