--- a/src/pyams_content/component/theme/zmi/manager.py Fri Jan 25 12:13:43 2019 +0100
+++ b/src/pyams_content/component/theme/zmi/manager.py Tue Jan 29 15:59:54 2019 +0100
@@ -26,7 +26,7 @@
from pyams_form.group import NamedWidgetsGroup
from pyams_pagelet.pagelet import pagelet_config
from pyams_skin.layer import IPyAMSLayer
-from pyams_skin.viewlet.menu import MenuItem, MenuDivider
+from pyams_skin.viewlet.menu import MenuItem
from pyams_utils.fanstatic import get_resource_path
from pyams_utils.interfaces.data import IObjectData
from pyams_viewlet.viewlet import viewlet_config
@@ -41,12 +41,6 @@
# Tags management view
#
-@viewlet_config(name='tags.divider', context=ITagsManagerTarget, layer=IAdminLayer,
- manager=IPropertiesMenu, permission=MANAGE_SITE_ROOT_PERMISSION, weight=39)
-class TagsManagerMenuDivider(MenuDivider):
- """Tags manager menu divider"""
-
-
@viewlet_config(name='tags-manager.menu', context=ITagsManagerTarget, layer=IAdminLayer,
manager=IPropertiesMenu, permission=MANAGE_SITE_ROOT_PERMISSION, weight=40)
class TagsManagerMenu(MenuItem):
@@ -64,7 +58,7 @@
class TagsManagerEditForm(AdminDialogEditForm):
"""Tags manager edit form"""
- prefix = 'manager_themes.'
+ prefix = 'tags_manager.'
legend = _("Selected tags")
dialog_class = 'modal-large'
@@ -135,7 +129,7 @@
class ThemesManagerEditForm(AdminDialogEditForm):
"""Themes manager edit form"""
- prefix = 'manager_themes.'
+ prefix = 'themes_manager.'
legend = _("Selected themes")
@@ -185,7 +179,7 @@
class CollectionsManagerEditForm(AdminDialogEditForm):
"""Collections manager edit form"""
- prefix = 'manager_themes.'
+ prefix = 'collections_manager.'
legend = _("Selected collections")