Moved skin features to PyAMS default theme
authorThierry Florac <tflorac@ulthar.net>
Wed, 07 Nov 2018 18:11:34 +0100
changeset 1066 161cca66b0f9
parent 1065 50612c78ed2a
child 1067 3b26d9f9dc2e
Moved skin features to PyAMS default theme
src/pyams_content/shared/site/interfaces.py
--- a/src/pyams_content/shared/site/interfaces.py	Wed Nov 07 17:58:52 2018 +0100
+++ b/src/pyams_content/shared/site/interfaces.py	Wed Nov 07 18:11:34 2018 +0100
@@ -21,7 +21,6 @@
 from zope.schema import Bool, Choice, Text
 from zope.schema.vocabulary import SimpleTerm, SimpleVocabulary
 
-from pyams_content import _
 from pyams_content.interfaces import IBaseContent
 from pyams_content.shared.common.interfaces import IBaseContentManagerRoles, IBaseSharedTool, IDeletableElement, \
     ISharedSite
@@ -30,6 +29,8 @@
 from pyams_sequence.interfaces import IInternalReference, ISequentialIdTarget
 from pyams_workflow.interfaces import IWorkflowPublicationSupport
 
+from pyams_content import _
+
 
 FOLDER_REDIRECT_DISPLAY_MODE = 'redirect'
 FOLDER_TEMPLATE_DISPLAY_MODE = 'template'
@@ -170,15 +171,3 @@
                    description=_("If 'no', link is not visible"),
                    required=True,
                    default=True)
-
-
-class IContentSummaryInfo(Interface):
-    """Content interface for site summary page"""
-
-    context = Attribute("Link to adapted context")
-
-    title = Attribute("Content's title")
-
-    header = Attribute("Header")
-
-    button_title = Attribute("Button's target")