--- a/src/pyams_content/shared/common/interfaces/__init__.py Tue Sep 04 09:23:57 2018 +0200
+++ b/src/pyams_content/shared/common/interfaces/__init__.py Tue Sep 04 11:03:25 2018 +0200
@@ -15,22 +15,21 @@
# import standard library
-# import interfaces
-from pyams_content.interfaces import IBaseContent, MANAGE_CONTENT_PERMISSION, OWNER_ROLE, MANAGER_ROLE, \
- READER_ROLE, GUEST_ROLE, WEBMASTER_ROLE, PILOT_ROLE, CONTRIBUTOR_ROLE
-from pyams_portal.interfaces import IPortalContext, DESIGNER_ROLE
-from pyams_workflow.interfaces import IWorkflowManagedContent
+from zope.container.constraints import containers, contains
from zope.container.interfaces import IContainer
-
-# import packages
-from pyams_i18n.schema import I18nTextField
-from pyams_security.schema import Principal, PrincipalsSet
-from pyams_utils.schema import TextLineListField
-from zope.container.constraints import containers, contains
from zope.interface import Interface, Attribute
from zope.schema import Choice, Bool, Text, TextLine
from pyams_content import _
+# import interfaces
+from pyams_content.interfaces import IBaseContent, MANAGE_CONTENT_PERMISSION, OWNER_ROLE, MANAGER_ROLE, \
+ READER_ROLE, GUEST_ROLE, WEBMASTER_ROLE, PILOT_ROLE, CONTRIBUTOR_ROLE
+# import packages
+from pyams_i18n.schema import I18nTextField
+from pyams_portal.interfaces import IPortalContext, DESIGNER_ROLE
+from pyams_security.schema import Principal, PrincipalsSet
+from pyams_utils.schema import TextLineListField
+from pyams_workflow.interfaces import IWorkflowManagedContent
class IDeletableElement(Interface):
@@ -155,6 +154,8 @@
description=_("Content's header is generally displayed in page header"),
required=False)
+ handle_header = Attribute("Static boolean value to specify if header is supported by this content type")
+
description = I18nTextField(title=_("Meta-description"),
description=_("The content's description is 'hidden' into HTML's page headers; but it "
"can be seen, for example, in some search engines results as content's "