--- a/src/pyams_content/features/search/zmi/properties.py Wed Jan 13 14:08:53 2021 +0100
+++ b/src/pyams_content/features/search/zmi/properties.py Wed Jan 13 14:10:56 2021 +0100
@@ -10,11 +10,8 @@
# FOR A PARTICULAR PURPOSE.
#
-__docformat__ = 'restructuredtext'
-
from z3c.form import field
-from pyams_content import _
from pyams_content.features.search import ISearchFolder
from pyams_content.interfaces import MANAGE_CONTENT_PERMISSION
from pyams_content.shared.common.zmi.properties import SharedContentPropertiesEditForm
@@ -30,6 +27,11 @@
from pyams_zmi.form import InnerAdminEditForm
+__docformat__ = 'restructuredtext'
+
+from pyams_content import _
+
+
@pagelet_config(name='properties.html', context=ISearchFolder, layer=IPyAMSLayer,
permission=VIEW_SYSTEM_PERMISSION)
@ajax_config(name='properties.json', context=ISearchFolder, layer=IPyAMSLayer,
--- a/src/pyams_content/shared/blog/manager.py Wed Jan 13 14:08:53 2021 +0100
+++ b/src/pyams_content/shared/blog/manager.py Wed Jan 13 14:10:56 2021 +0100
@@ -48,8 +48,9 @@
return True
-@implementer(IBlogManager, IParagraphFactorySettings, IThemesManagerTarget, IPictogramManagerTarget,
- IIllustrationTarget, ILinkIllustrationTarget, IHeaderTarget, IFooterTarget, IPortalContext, IPreviewTarget)
+@implementer(IBlogManager, IParagraphFactorySettings, IThemesManagerTarget,
+ IPictogramManagerTarget, IIllustrationTarget, ILinkIllustrationTarget,
+ IHeaderTarget, IFooterTarget, IPortalContext, IPreviewTarget)
class BlogManager(Folder, BaseSharedTool, UserSkinnableContent):
"""Nlog manager class"""
--- a/src/pyams_content/shared/hub/manager.py Wed Jan 13 14:08:53 2021 +0100
+++ b/src/pyams_content/shared/hub/manager.py Wed Jan 13 14:10:56 2021 +0100
@@ -43,8 +43,7 @@
@implementer(IHubManager, IParagraphFactorySettings, IParagraphContainerTarget,
- IThemesManagerTarget, ICollectionsManagerTarget, IPictogramManagerTarget,
- ITagsTarget, IThemesTarget,
+ IThemesManagerTarget, IPictogramManagerTarget, ITagsTarget, IThemesTarget,
IIllustrationTarget, ILinkIllustrationTarget, IPortalContext, IHeaderTarget,
IFooterTarget, IPreviewTarget)
class HubManager(SiteContainerMixin, OrderedContainer, BaseSharedTool, TypedSharedToolMixin,
--- a/src/pyams_content/shared/site/manager.py Wed Jan 13 14:08:53 2021 +0100
+++ b/src/pyams_content/shared/site/manager.py Wed Jan 13 14:10:56 2021 +0100
@@ -53,8 +53,8 @@
@implementer(ISiteManager, IParagraphFactorySettings, IThemesManagerTarget,
- ICollectionsManagerTarget, IPictogramManagerTarget, IIllustrationTarget,
- ILinkIllustrationTarget, IPortalContext, IHeaderTarget, IFooterTarget, IPreviewTarget)
+ IPictogramManagerTarget, IIllustrationTarget, ILinkIllustrationTarget,
+ IPortalContext, IHeaderTarget, IFooterTarget, IPreviewTarget)
class SiteManager(SiteContainerMixin, OrderedContainer, BaseSharedTool, TypedSharedToolMixin,
UserSkinnableContent):
"""Site manager persistent class"""
--- a/src/pyams_content/shared/view/zmi/properties.py Wed Jan 13 14:08:53 2021 +0100
+++ b/src/pyams_content/shared/view/zmi/properties.py Wed Jan 13 14:10:56 2021 +0100
@@ -45,7 +45,8 @@
fields = field.Fields(IWfView).select('select_context_path', 'select_context_type',
'selected_content_types', 'select_context_datatype',
- 'selected_datatypes', 'order_by', 'reversed_order', 'limit')
+ 'selected_datatypes', 'order_by', 'reversed_order',
+ 'limit')
fields['selected_datatypes'].widgetFactory = HiddenSelect2FieldWidget
weight = 1