--- a/src/pyams_content/features/alert/zmi/container.py Tue Jun 05 09:38:57 2018 +0200
+++ b/src/pyams_content/features/alert/zmi/container.py Tue Jun 05 14:57:59 2018 +0200
@@ -48,7 +48,7 @@
@viewlet_config(name='alerts.menu', context=IAlertTarget, layer=IPyAMSLayer, manager=ISiteManagementMenu,
- permission=MANAGE_SITE_ROOT_PERMISSION, weight=4)
+ permission=MANAGE_SITE_ROOT_PERMISSION, weight=30)
class AlertsMenu(MenuItem):
"""Alerts menu"""
--- a/src/pyams_content/reference/zmi/table.py Tue Jun 05 09:38:57 2018 +0200
+++ b/src/pyams_content/reference/zmi/table.py Tue Jun 05 14:57:59 2018 +0200
@@ -64,7 +64,7 @@
@viewlet_config(name='contents.menu', context=IReferenceTable, layer=IAdminLayer,
- manager=ISiteManagementMenu, permission=VIEW_SYSTEM_PERMISSION, weight=1)
+ manager=ISiteManagementMenu, permission=VIEW_SYSTEM_PERMISSION, weight=10)
@viewletmanager_config(name='contents.menu', layer=IAdminLayer, provides=IPropertiesMenu)
@implementer(IPropertiesMenu)
class ReferenceTableContentsMenu(MenuItem):
--- a/src/pyams_content/root/zmi/sites.py Tue Jun 05 09:38:57 2018 +0200
+++ b/src/pyams_content/root/zmi/sites.py Tue Jun 05 14:57:59 2018 +0200
@@ -59,7 +59,7 @@
#
@viewlet_config(name='site-tree.menu', context=ISiteRoot, layer=IAdminLayer, manager=ISiteManagementMenu,
- permission=VIEW_SYSTEM_PERMISSION, weight=5)
+ permission=VIEW_SYSTEM_PERMISSION, weight=10)
@viewletmanager_config(name='site-tree.menu', layer=IAdminLayer, context=ISiteRoot, provides=ISiteTreeMenu)
@implementer(ISiteTreeMenu)
class SiteTreeMenu(MenuItem):
--- a/src/pyams_content/shared/common/zmi/manager.py Tue Jun 05 09:38:57 2018 +0200
+++ b/src/pyams_content/shared/common/zmi/manager.py Tue Jun 05 14:57:59 2018 +0200
@@ -81,7 +81,7 @@
#
@viewlet_config(name='properties.menu', context=IBaseSharedTool, layer=IAdminLayer,
- manager=ISiteManagementMenu, permission=MANAGE_TOOL_PERMISSION, weight=1)
+ manager=ISiteManagementMenu, permission=MANAGE_TOOL_PERMISSION, weight=40)
@viewletmanager_config(name='properties.menu', layer=IAdminLayer, provides=IPropertiesMenu)
@implementer(IPropertiesMenu)
class SharedToolPropertiesMenu(MenuItem):
@@ -138,7 +138,7 @@
#
@viewlet_config(name='languages.menu', context=IBaseSharedTool, layer=IAdminLayer,
- manager=ISiteManagementMenu, permission=MANAGE_TOOL_PERMISSION, weight=10)
+ manager=ISiteManagementMenu, permission=MANAGE_TOOL_PERMISSION, weight=100)
class SharedToolLanguagesMenu(MenuItem):
"""Shared tool languages menu"""
--- a/src/pyams_content/shared/site/zmi/container.py Tue Jun 05 09:38:57 2018 +0200
+++ b/src/pyams_content/shared/site/zmi/container.py Tue Jun 05 14:57:59 2018 +0200
@@ -163,7 +163,7 @@
#
@viewlet_config(name='site-tree.menu', layer=IAdminLayer, context=ISiteContainer, manager=ISiteManagementMenu,
- permission=VIEW_SYSTEM_PERMISSION, weight=5)
+ permission=VIEW_SYSTEM_PERMISSION, weight=10)
@viewletmanager_config(name='site-tree.menu', layer=IAdminLayer, context=ISiteContainer, provides=ISiteTreeMenu)
@implementer(ISiteTreeMenu)
class SiteContainerTreeMenu(MenuItem):