src/pyams_content/component/illustration/zmi/paragraph.py
changeset 1084 6b6a884fa28a
parent 1005 107406cb705c
child 1106 7a431c7ffcef
--- a/src/pyams_content/component/illustration/zmi/paragraph.py	Mon Nov 12 16:48:29 2018 +0100
+++ b/src/pyams_content/component/illustration/zmi/paragraph.py	Mon Nov 12 16:56:15 2018 +0100
@@ -141,11 +141,13 @@
 # Paragraph container illustration marker
 #
 
+@viewlet_config(name='illustration', context=IIllustrationParagraph, layer=IPyAMSLayer, view=IParagraphContainerTable,
+                manager=IParagraphTitleToolbar, permission=VIEW_SYSTEM_PERMISSION, weight=5)
 @viewlet_config(name='illustration', context=IBasicIllustrationTarget, layer=IPyAMSLayer, view=IParagraphContainerTable,
                 manager=IParagraphTitleToolbar, permission=VIEW_SYSTEM_PERMISSION, weight=5)
 @template_config(template='templates/paragraph-illustration-icon.pt', layer=IPyAMSLayer)
-class ParagraphContainerIllustrationMarker(Viewlet):
-    """Paragraph container illustration marker column"""
+class ParagraphIllustrationMarker(Viewlet):
+    """Paragraph illustration marker column"""
 
     weight = 5
     action_class = 'action illustration nowrap width-40'
@@ -159,5 +161,5 @@
         if illustration and illustration.data:
             for value in illustration.data.values():
                 if value:
-                    return super(ParagraphContainerIllustrationMarker, self).render()
+                    return super(ParagraphIllustrationMarker, self).render()
         return ''