--- a/src/pyams_default_theme/features/footer/__init__.py Wed Jan 16 18:56:36 2019 +0100
+++ b/src/pyams_default_theme/features/footer/__init__.py Thu Jan 17 11:15:20 2019 +0100
@@ -20,8 +20,7 @@
from pyams_content.component.association.interfaces import ASSOCIATION_CONTAINER_KEY
from pyams_content.features.footer.interfaces import IFooterSettings, IFooterTarget
-from pyams_content.features.menu import MenusContainer, IMenusContainer
-from pyams_content.features.menu.interfaces import IMenusContainerTarget
+from pyams_content.features.menu.interfaces import IMenusContainer, IMenusContainerTarget
from pyams_default_theme.features.footer.interfaces import ISimpleFooterMenusContainer, ISimpleFooterRendererSettings
from pyams_default_theme.layer import IPyAMSDefaultLayer
from pyams_utils.adapter import ContextAdapter, adapter_config, get_annotation_adapter
@@ -69,7 +68,7 @@
@property
def menus(self):
- return get_annotation_adapter(self, SIMPLE_FOOTER_MENUS_KEY, MenusContainer,
+ return get_annotation_adapter(self, SIMPLE_FOOTER_MENUS_KEY, IMenusContainer,
markers=ISimpleFooterMenusContainer, name='++ass++menus')