--- a/src/pyams_portal/zmi/container.py Thu Sep 06 13:58:31 2018 +0200
+++ b/src/pyams_portal/zmi/container.py Wed Sep 12 16:44:03 2018 +0200
@@ -34,7 +34,7 @@
from pyams_skin.container import ContainerView, delete_container_element
from pyams_skin.page import DefaultPageHeaderAdapter
from pyams_skin.table import DefaultElementEditorAdapter, BaseTable, NameColumn, TrashColumn
-from pyams_skin.viewlet.breadcrumb import BreadcrumbItem
+from pyams_skin.viewlet.breadcrumb import BreadcrumbAdminLayerItem
from pyams_skin.viewlet.menu import MenuItem
from pyams_utils.adapter import adapter_config, ContextRequestViewAdapter
from pyams_utils.fanstatic import get_resource_path
@@ -58,7 +58,7 @@
#
@adapter_config(context=(IPortalTemplateContainer, IAdminLayer), provides=IBreadcrumbItem)
-class PortalTemplateContainerBreadcrumbAdapter(BreadcrumbItem):
+class PortalTemplateContainerBreadcrumbAdapter(BreadcrumbAdminLayerItem):
"""Portal templates container breadcrumbs adapter"""
label = _("Portal templates")
--- a/src/pyams_portal/zmi/template.py Thu Sep 06 13:58:31 2018 +0200
+++ b/src/pyams_portal/zmi/template.py Wed Sep 12 16:44:03 2018 +0200
@@ -33,7 +33,7 @@
from pyams_portal.zmi.container import PortalTemplateContainerTable
from pyams_skin.page import DefaultPageHeaderAdapter
from pyams_skin.table import DefaultElementEditorAdapter
-from pyams_skin.viewlet.breadcrumb import BreadcrumbItem
+from pyams_skin.viewlet.breadcrumb import BreadcrumbAdminLayerItem
from pyams_skin.viewlet.toolbar import ToolbarAction
from pyams_utils.adapter import adapter_config, ContextRequestAdapter
from pyams_utils.registry import query_utility
@@ -49,8 +49,8 @@
from pyams_portal import _
-@adapter_config(context=(IPortalTemplate, IPyAMSLayer), provides=IBreadcrumbItem)
-class PortalTemplateBreadcrumbAdapter(BreadcrumbItem):
+@adapter_config(context=(IPortalTemplate, IAdminLayer), provides=IBreadcrumbItem)
+class PortalTemplateBreadcrumbAdapter(BreadcrumbAdminLayerItem):
"""Portal template breadcrumb adapter"""
@property