Moved shared content specificities portlet settings interface to PyAMS_content package
authorThierry Florac <tflorac@ulthar.net>
Fri, 25 Jan 2019 12:06:18 +0100
changeset 403 258ae50e8f56
parent 402 3e8a70b8b572
child 404 dbc23a1d1d54
Moved shared content specificities portlet settings interface to PyAMS_content package
src/pyams_default_theme/shared/common/interfaces.py
src/pyams_default_theme/shared/common/portlet/specificities.py
--- a/src/pyams_default_theme/shared/common/interfaces.py	Fri Jan 25 12:00:22 2019 +0100
+++ b/src/pyams_default_theme/shared/common/interfaces.py	Fri Jan 25 12:06:18 2019 +0100
@@ -15,17 +15,11 @@
 from zope.contentprovider.interfaces import IContentProvider
 from zope.interface import Interface
 
-from pyams_portal.interfaces import IPortletSettings
-
 
 class ICustomContentHeaderRenderer(IContentProvider):
     """Custom content header renderer"""
 
 
-class ISharedContentSpecificitiesPortletSettings(IPortletSettings):
-    """Shared content specificities portlet settings"""
-
-
 class ICustomContentSpecificitiesRenderer(IContentProvider):
     """Custom content specificities renderer"""
 
--- a/src/pyams_default_theme/shared/common/portlet/specificities.py	Fri Jan 25 12:00:22 2019 +0100
+++ b/src/pyams_default_theme/shared/common/portlet/specificities.py	Fri Jan 25 12:06:18 2019 +0100
@@ -14,15 +14,14 @@
 
 from zope.interface import Interface
 
-from pyams_default_theme.shared.common.interfaces import ISharedContentSpecificitiesPortletSettings, \
-    ICustomContentSpecificitiesRenderer
+from pyams_content.shared.common.portlet.interfaces import ISharedContentSpecificitiesPortletSettings
+from pyams_default_theme import _
+from pyams_default_theme.shared.common.interfaces import ICustomContentSpecificitiesRenderer
 from pyams_portal.interfaces import IPortalContext, IPortletRenderer
 from pyams_portal.portlet import PortletRenderer
 from pyams_skin.layer import IPyAMSLayer
 from pyams_utils.adapter import adapter_config
 
-from pyams_default_theme import _
-
 
 #
 # Shared content specificities portlet renderer