src/pyams_content/shared/logo/paragraph.py
changeset 407 0ef5de2d5674
parent 392 8fc847d83992
child 438 117089568313
--- a/src/pyams_content/shared/logo/paragraph.py	Thu Feb 22 12:00:05 2018 +0100
+++ b/src/pyams_content/shared/logo/paragraph.py	Thu Feb 22 15:58:28 2018 +0100
@@ -17,7 +17,7 @@
 
 # import interfaces
 from pyams_content.features.checker.interfaces import IContentChecker, MISSING_VALUE, MISSING_LANG_VALUE, ERROR_VALUE
-from pyams_content.shared.logo.interfaces import ILogosParagraph
+from pyams_content.shared.logo.interfaces import ILogosParagraph, LOGOS_PARAGRAPH_TYPE
 from pyams_i18n.interfaces import II18nManager, INegotiator, II18n
 from pyams_workflow.interfaces import IWorkflow, IWorkflowState
 
@@ -51,12 +51,13 @@
                 yield get_reference_target(reference, state)
 
 
-@utility_config(name='Logos', provides=IParagraphFactory)
+@utility_config(name=LOGOS_PARAGRAPH_TYPE, provides=IParagraphFactory)
 class LogosParagraphFactory(BaseParagraphFactory):
     """Logos paragraph factory"""
 
     name = _("Logos")
     content_type = LogosParagraph
+    secondary_menu = True
 
 
 @adapter_config(context=ILogosParagraph, provides=IContentChecker)