src/pyams_content/component/theme/zmi/manager.py
changeset 1423 31c1bc24a308
parent 1389 1485db1e2b5e
child 1432 4f6eb363c72a
--- a/src/pyams_content/component/theme/zmi/manager.py	Tue Sep 08 12:23:21 2020 +0200
+++ b/src/pyams_content/component/theme/zmi/manager.py	Fri Nov 13 13:01:02 2020 +0100
@@ -40,17 +40,17 @@
 #
 
 @viewlet_config(name='tags-manager.menu', context=ITagsManagerTarget, layer=IAdminLayer,
-                manager=IPropertiesMenu, permission=MANAGE_SITE_ROOT_PERMISSION, weight=40)
+                manager=IPropertiesMenu, permission=MANAGE_SITE_ROOT_PERMISSION, weight=730)
 class TagsManagerMenu(MenuItem):
     """Tags menu"""
 
     label = _("Tags settings...")
     icon_class = 'fa-tag'
-    url = 'tags.html'
+    url = 'tags-manager.html'
     modal_target = True
 
 
-@pagelet_config(name='tags.html', context=ITagsManagerTarget, layer=IPyAMSLayer,
+@pagelet_config(name='tags-manager.html', context=ITagsManagerTarget, layer=IPyAMSLayer,
                 permission=MANAGE_SITE_ROOT_PERMISSION)
 @ajax_config(name='tags.json', context=ITagsManagerTarget, layer=IPyAMSLayer)
 class TagsManagerEditForm(AdminDialogEditForm):
@@ -104,17 +104,17 @@
 #
 
 @viewlet_config(name='themes-manager.menu', context=IThemesManagerTarget, layer=IAdminLayer,
-                manager=IPropertiesMenu, permission=MANAGE_TOOL_PERMISSION, weight=41)
+                manager=IPropertiesMenu, permission=MANAGE_TOOL_PERMISSION, weight=740)
 class ThemesManagerMenu(MenuItem):
     """Themes menu"""
 
     label = _("Themes settings...")
     icon_class = 'fa-tags'
-    url = 'themes.html'
+    url = 'themes-manager.html'
     modal_target = True
 
 
-@pagelet_config(name='themes.html', context=IThemesManagerTarget, layer=IPyAMSLayer,
+@pagelet_config(name='themes-manager.html', context=IThemesManagerTarget, layer=IPyAMSLayer,
                 permission=MANAGE_TOOL_PERMISSION)
 @ajax_config(name='themes.json', context=IThemesManagerTarget, layer=IPyAMSLayer)
 class ThemesManagerEditForm(AdminDialogEditForm):
@@ -156,17 +156,17 @@
 
 @viewlet_config(name='collections-manager.menu', context=ICollectionsManagerTarget,
                 layer=IAdminLayer, manager=IPropertiesMenu, permission=MANAGE_TOOL_PERMISSION,
-                weight=42)
+                weight=750)
 class CollectionsManagerMenu(MenuItem):
     """Collections menu"""
 
     label = _("Collections settings...")
     icon_class = 'fa-book'
-    url = 'collections.html'
+    url = 'collections-manager.html'
     modal_target = True
 
 
-@pagelet_config(name='collections.html', context=ICollectionsManagerTarget, layer=IPyAMSLayer,
+@pagelet_config(name='collections-manager.html', context=ICollectionsManagerTarget, layer=IPyAMSLayer,
                 permission=MANAGE_SITE_ROOT_PERMISSION)
 @ajax_config(name='collections.json', context=ICollectionsManagerTarget, layer=IPyAMSLayer)
 class CollectionsManagerEditForm(AdminDialogEditForm):