--- a/src/pyams_content/component/association/zmi/paragraph.py Thu Mar 15 12:06:23 2018 +0100
+++ b/src/pyams_content/component/association/zmi/paragraph.py Fri Mar 16 08:17:54 2018 +0100
@@ -19,7 +19,7 @@
from pyams_content.component.association.interfaces import IAssociationParagraph, ASSOCIATION_PARAGRAPH_TYPE
from pyams_content.component.association.zmi.interfaces import IAssociationsParentForm
from pyams_content.component.paragraph.interfaces import IParagraphContainerTarget, IParagraphContainer, \
- IParagraphPreview
+ IParagraphRenderer
from pyams_content.component.paragraph.zmi.interfaces import IParagraphInnerEditor, IParagraphContainerView
from pyams_content.interfaces import MANAGE_CONTENT_PERMISSION
from pyams_content.shared.common.interfaces import IWfSharedContent
@@ -33,7 +33,7 @@
from pyams_content.component.association.paragraph import AssociationParagraph
from pyams_content.component.paragraph.zmi import BaseParagraphAJAXAddForm, BaseParagraphAJAXEditForm, \
BaseParagraphAddMenu, BaseParagraphPropertiesEditForm
-from pyams_content.features.renderer.zmi import BaseRenderedContentPreview
+from pyams_content.features.renderer.zmi import BaseRenderedContentRenderer
from pyams_content.features.renderer.zmi.widget import RendererFieldWidget
from pyams_pagelet.pagelet import pagelet_config
from pyams_utils.adapter import adapter_config
@@ -150,9 +150,9 @@
#
-# Association paragraph preview
+# Association paragraph renderer
#
-@adapter_config(context=(IAssociationParagraph, IPyAMSLayer), provides=IParagraphPreview)
-class AssociationParagraphPreview(BaseRenderedContentPreview):
- """Association paragraph preview"""
+@adapter_config(context=(IAssociationParagraph, IPyAMSLayer), provides=IParagraphRenderer)
+class AssociationParagraphRenderer(BaseRenderedContentRenderer):
+ """Association paragraph renderer"""