Reordered menus
authorThierry Florac <thierry.florac@onf.fr>
Tue, 05 Jun 2018 14:58:50 +0200
changeset 63 9ec07ad66fbb
parent 62 5c7fe5a68736
child 64 6d8b40599c9c
Reordered menus
src/pyams_thesaurus/zmi/thesaurus.py
--- a/src/pyams_thesaurus/zmi/thesaurus.py	Tue May 29 09:43:38 2018 +0200
+++ b/src/pyams_thesaurus/zmi/thesaurus.py	Tue Jun 05 14:58:50 2018 +0200
@@ -198,7 +198,7 @@
 
 
 @viewlet_config(name='properties.menu', layer=IAdminLayer, context=IThesaurus, manager=ISiteManagementMenu,
-                permission=VIEW_SYSTEM_PERMISSION, weight=1)
+                permission=VIEW_SYSTEM_PERMISSION, weight=40)
 @viewletmanager_config(name='properties.menu', layer=IAdminLayer, context=IThesaurus, provides=IPropertiesMenu)
 @implementer(IPropertiesMenu)
 class ThesaurusPropertiesMenuItem(MenuItem):
@@ -246,7 +246,7 @@
 #
 
 @viewlet_config(name='terms.menu', context=IThesaurus, layer=IAdminLayer, manager=ISiteManagementMenu,
-                permission=VIEW_SYSTEM_PERMISSION, weight=10)
+                permission=VIEW_SYSTEM_PERMISSION, weight=50)
 @viewletmanager_config(name='terms.menu', layer=IAdminLayer, context=IThesaurus, provides=IThesaurusTermsMenu)
 @implementer(IThesaurusTermsMenu)
 class ThesaurusTermsMenuItem(MenuItem):