--- a/src/pyams_content/component/theme/zmi/manager.py Wed Jul 18 15:50:14 2018 +0200
+++ b/src/pyams_content/component/theme/zmi/manager.py Wed Jul 18 16:37:17 2018 +0200
@@ -9,7 +9,6 @@
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
# FOR A PARTICULAR PURPOSE.
#
-from pyams_content.component.theme import ICollectionsManagerTarget, ICollectionsManager
__docformat__ = 'restructuredtext'
@@ -17,8 +16,10 @@
# import standard library
# import interfaces
-from pyams_content.component.theme.interfaces import ITagsManagerTarget, ITagsManager, IThemesManagerTarget, \
- IThemesManager
+from pyams_content.component.theme.interfaces import \
+ ITagsManagerTarget, ITagsManager, \
+ IThemesManagerTarget, IThemesManager, \
+ ICollectionsManagerTarget, ICollectionsManager
from pyams_content.interfaces import MANAGE_TOOL_PERMISSION, MANAGE_SITE_ROOT_PERMISSION
from pyams_skin.layer import IPyAMSLayer
from pyams_utils.interfaces.data import IObjectData
@@ -29,7 +30,7 @@
from pyams_content.skin import pyams_content
from pyams_form.form import ajax_config
from pyams_pagelet.pagelet import pagelet_config
-from pyams_skin.viewlet.menu import MenuItem
+from pyams_skin.viewlet.menu import MenuItem, MenuDivider
from pyams_utils.fanstatic import get_resource_path
from pyams_viewlet.viewlet import viewlet_config
from pyams_zmi.form import AdminDialogEditForm
@@ -43,6 +44,12 @@
# 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):