Moved shared content specificities portlet settings interface from PyAMS_default_theme package
authorThierry Florac <tflorac@ulthar.net>
Fri, 25 Jan 2019 12:08:56 +0100
changeset 1265 4bacdf4ceadf
parent 1264 fb1f4e930d61
child 1266 fe2f3c9aa847
Moved shared content specificities portlet settings interface from PyAMS_default_theme package
src/pyams_content/shared/common/portlet/interfaces.py
src/pyams_content/shared/common/portlet/specificities.py
src/pyams_content/shared/common/portlet/zmi/specificities.py
--- a/src/pyams_content/shared/common/portlet/interfaces.py	Fri Jan 25 11:59:37 2019 +0100
+++ b/src/pyams_content/shared/common/portlet/interfaces.py	Fri Jan 25 12:08:56 2019 +0100
@@ -14,10 +14,9 @@
 
 from zope.schema import Bool
 
+from pyams_content import _
 from pyams_portal.interfaces import IPortletSettings
 
-from pyams_content import _
-
 
 class ISharedContentHeaderPortletSettings(IPortletSettings):
     """Shared content header portlet settings"""
@@ -46,3 +45,7 @@
 
 class ISharedContentTitlePortletSettings(IPortletSettings):
     """Shared content title portlet settings"""
+
+
+class ISharedContentSpecificitiesPortletSettings(IPortletSettings):
+    """Shared content specificities portlet settings"""
--- a/src/pyams_content/shared/common/portlet/specificities.py	Fri Jan 25 11:59:37 2019 +0100
+++ b/src/pyams_content/shared/common/portlet/specificities.py	Fri Jan 25 12:08:56 2019 +0100
@@ -12,13 +12,12 @@
 
 __docformat__ = 'restructuredtext'
 
-from pyams_default_theme.shared.common.interfaces import ISharedContentSpecificitiesPortletSettings
+from pyams_content import _
+from pyams_content.shared.common.portlet.interfaces import ISharedContentSpecificitiesPortletSettings
 from pyams_portal.portlet import Portlet, PortletSettings, portlet_config
 from pyams_utils.factory import factory_config
 from pyams_utils.interfaces import VIEW_PERMISSION
 
-from pyams_content import _
-
 
 #
 # Shared content specificities portlet
--- a/src/pyams_content/shared/common/portlet/zmi/specificities.py	Fri Jan 25 11:59:37 2019 +0100
+++ b/src/pyams_content/shared/common/portlet/zmi/specificities.py	Fri Jan 25 12:08:56 2019 +0100
@@ -14,7 +14,7 @@
 
 from zope.interface import Interface
 
-from pyams_default_theme.shared.common.interfaces import ISharedContentSpecificitiesPortletSettings
+from pyams_content.shared.common.portlet.interfaces import ISharedContentSpecificitiesPortletSettings
 from pyams_form.form import AJAXEditForm
 from pyams_form.interfaces.form import IInnerTabForm
 from pyams_pagelet.interfaces import IPagelet