# HG changeset patch # User Thierry Florac # Date 1526651518 -7200 # Node ID 5eb6713c8e7d4e2458ed69f70b3aec2449765884 # Parent 213db0cb6b4c4d849539f7da1a59f91d6d47fc1e Added header and footer features support to site root diff -r 213db0cb6b4c -r 5eb6713c8e7d src/pyams_content/root/__init__.py --- a/src/pyams_content/root/__init__.py Fri May 18 15:51:14 2018 +0200 +++ b/src/pyams_content/root/__init__.py Fri May 18 15:51:58 2018 +0200 @@ -19,6 +19,8 @@ # import interfaces from pyams_content.features.alert.interfaces import IAlertTarget +from pyams_content.features.footer.interfaces import IFooterTarget +from pyams_content.features.header.interfaces import IHeaderTarget from pyams_content.features.preview.interfaces import IPreviewTarget from pyams_content.interfaces import WEBMASTER_ROLE, OPERATOR_ROLE from pyams_content.root.interfaces import ISiteRootRoles, ISiteRootConfiguration, ISiteRoot, \ @@ -45,7 +47,7 @@ @implementer(IDefaultProtectionPolicy, ISiteRoot, ISiteRootRoles, IPortalContext, - IAlertTarget, IPreviewTarget) + IHeaderTarget, IFooterTarget, IAlertTarget, IPreviewTarget) class SiteRoot(ProtectedObject, BaseSiteRoot, UserSkinnableContent): """Main site root"""