--- a/src/pyams_content/features/menu/portlet/navigation/zmi/double.py Fri Feb 01 18:38:30 2019 +0100
+++ b/src/pyams_content/features/menu/portlet/navigation/zmi/double.py Fri Feb 08 14:06:10 2019 +0100
@@ -12,32 +12,26 @@
__docformat__ = 'restructuredtext'
-
-# import standard library
-
-# import interfaces
-from pyams_content.component.links.interfaces import IInternalLink
-from pyams_content.features.menu.portlet.navigation.interfaces.double import IDoubleNavigationPortletSettings, \
- IDoubleNavigationMenusContainer
-from pyams_form.interfaces.form import IInnerSubForm
-from pyams_pagelet.interfaces import IPagelet
-from pyams_portal.interfaces import IPortletPreviewer
-from pyams_skin.layer import IPyAMSLayer
-from pyams_utils.interfaces import VIEW_SYSTEM_PERMISSION
-from pyams_workflow.interfaces import IWorkflowPublicationInfo
-
-# import packages
-from pyams_content.component.association.interfaces import IAssociationInfo
-from pyams_content.features.menu.zmi import MenusTable, IMenusView, MenusView
-from pyams_form.form import AJAXEditForm
-from pyams_pagelet.pagelet import pagelet_config
-from pyams_portal.portlet import PortletPreviewer
-from pyams_portal.zmi.portlet import PortletSettingsEditor, PortletSettingsPropertiesEditor
-from pyams_template.template import template_config
-from pyams_utils.adapter import adapter_config
from zope.interface import Interface
from pyams_content import _
+from pyams_content.component.association.interfaces import IAssociationInfo
+from pyams_content.component.links.interfaces import IInternalLink
+from pyams_content.features.menu.portlet.navigation.interfaces.double import IDoubleNavigationMenusContainer, \
+ IDoubleNavigationPortletSettings
+from pyams_content.features.menu.zmi import IMenusView, MenusTable, MenusView
+from pyams_form.form import AJAXEditForm
+from pyams_form.interfaces.form import IInnerSubForm
+from pyams_pagelet.interfaces import IPagelet
+from pyams_pagelet.pagelet import pagelet_config
+from pyams_portal.interfaces import IPortletPreviewer
+from pyams_portal.portlet import PortletPreviewer
+from pyams_portal.zmi.portlet import PortletSettingsEditor, PortletSettingsPropertiesEditor
+from pyams_skin.layer import IPyAMSLayer
+from pyams_template.template import template_config
+from pyams_utils.adapter import adapter_config
+from pyams_utils.interfaces import VIEW_SYSTEM_PERMISSION
+from pyams_workflow.interfaces import IWorkflowPublicationInfo
@pagelet_config(name='properties.html', context=IDoubleNavigationPortletSettings, layer=IPyAMSLayer,
--- a/src/pyams_content/features/menu/portlet/navigation/zmi/simple.py Fri Feb 01 18:38:30 2019 +0100
+++ b/src/pyams_content/features/menu/portlet/navigation/zmi/simple.py Fri Feb 08 14:06:10 2019 +0100
@@ -12,32 +12,26 @@
__docformat__ = 'restructuredtext'
-
-# import standard library
-
-# import interfaces
-from pyams_content.component.links.interfaces import IInternalLink
-from pyams_content.features.menu.portlet.navigation.interfaces.simple import ISimpleNavigationPortletSettings, \
- ISimpleNavigationMenu
-from pyams_form.interfaces.form import IInnerSubForm
-from pyams_pagelet.interfaces import IPagelet
-from pyams_portal.interfaces import IPortletPreviewer
-from pyams_skin.layer import IPyAMSLayer
-from pyams_utils.interfaces import VIEW_SYSTEM_PERMISSION
-from pyams_workflow.interfaces import IWorkflowPublicationInfo
-
-# import packages
-from pyams_content.component.association.interfaces import IAssociationInfo
-from pyams_content.features.menu.zmi import LinksTable, IMenuLinksView, MenuLinksView
-from pyams_form.form import AJAXEditForm
-from pyams_pagelet.pagelet import pagelet_config
-from pyams_portal.portlet import PortletPreviewer
-from pyams_portal.zmi.portlet import PortletSettingsEditor, PortletSettingsPropertiesEditor
-from pyams_template.template import template_config
-from pyams_utils.adapter import adapter_config
from zope.interface import Interface
from pyams_content import _
+from pyams_content.component.association.interfaces import IAssociationInfo
+from pyams_content.component.links.interfaces import IInternalLink
+from pyams_content.features.menu.portlet.navigation.interfaces.simple import ISimpleNavigationMenu, \
+ ISimpleNavigationPortletSettings
+from pyams_content.features.menu.zmi import IMenuLinksView, LinksTable, MenuLinksView
+from pyams_form.form import AJAXEditForm
+from pyams_form.interfaces.form import IInnerSubForm
+from pyams_pagelet.interfaces import IPagelet
+from pyams_pagelet.pagelet import pagelet_config
+from pyams_portal.interfaces import IPortletPreviewer
+from pyams_portal.portlet import PortletPreviewer
+from pyams_portal.zmi.portlet import PortletSettingsEditor, PortletSettingsPropertiesEditor
+from pyams_skin.layer import IPyAMSLayer
+from pyams_template.template import template_config
+from pyams_utils.adapter import adapter_config
+from pyams_utils.interfaces import VIEW_SYSTEM_PERMISSION
+from pyams_workflow.interfaces import IWorkflowPublicationInfo
@pagelet_config(name='properties.html', context=ISimpleNavigationPortletSettings, layer=IPyAMSLayer,