src/pyams_content/component/paragraph/zmi/milestone.py
changeset 487 093f201e3168
parent 456 07646760c1b5
child 489 dcdb0ce828f8
--- a/src/pyams_content/component/paragraph/zmi/milestone.py	Thu Mar 15 12:06:23 2018 +0100
+++ b/src/pyams_content/component/paragraph/zmi/milestone.py	Fri Mar 16 08:17:54 2018 +0100
@@ -18,7 +18,7 @@
 
 # import interfaces
 from pyams_content.component.paragraph.interfaces import IParagraphContainerTarget, IParagraphContainer, \
-    IParagraphPreview
+    IParagraphRenderer
 from pyams_content.component.paragraph.interfaces.milestone import MILESTONE_PARAGRAPH_TYPE, IMilestoneParagraph, \
     IMilestoneContainer, IMilestoneContainerTarget, IMilestone
 from pyams_content.component.paragraph.zmi import IParagraphContainerView
@@ -37,7 +37,7 @@
 from pyams_content.component.paragraph.milestone import MilestoneParagraph, Milestone
 from pyams_content.component.paragraph.zmi import BaseParagraphAddMenu, BaseParagraphAJAXAddForm, \
     BaseParagraphPropertiesEditForm, BaseParagraphAJAXEditForm
-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_content.skin import pyams_content
 from pyams_form.form import AJAXAddForm, AJAXEditForm
@@ -174,12 +174,12 @@
 
 
 #
-# Milestone paragraph preview
+# Milestone paragraph renderer
 #
 
-@adapter_config(context=(IMilestoneParagraph, IPyAMSLayer), provides=IParagraphPreview)
-class MilestoneParagraphPreview(BaseRenderedContentPreview):
-    """Milestone paragraph preview"""
+@adapter_config(context=(IMilestoneParagraph, IPyAMSLayer), provides=IParagraphRenderer)
+class MilestoneParagraphRenderer(BaseRenderedContentRenderer):
+    """Milestone paragraph renderer"""
 
 
 #