src/pyams_content/component/paragraph/zmi/keypoint.py
changeset 487 093f201e3168
parent 435 ce4ae073a7f7
child 489 dcdb0ce828f8
--- a/src/pyams_content/component/paragraph/zmi/keypoint.py	Thu Mar 15 12:06:23 2018 +0100
+++ b/src/pyams_content/component/paragraph/zmi/keypoint.py	Fri Mar 16 08:17:54 2018 +0100
@@ -17,7 +17,7 @@
 
 # import interfaces
 from pyams_content.component.paragraph.interfaces import IParagraphContainerTarget, IParagraphContainer, \
-    IParagraphPreview
+    IParagraphRenderer
 from pyams_content.component.paragraph.interfaces.keypoint import IKeypointsParagraph, KEYPOINTS_PARAGRAPH_TYPE
 from pyams_content.component.paragraph.zmi.interfaces import IParagraphInnerEditor, IParagraphContainerView
 from pyams_content.interfaces import MANAGE_CONTENT_PERMISSION
@@ -31,7 +31,7 @@
 from pyams_content.component.paragraph.keypoint import KeypointsParagraph
 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
@@ -169,9 +169,9 @@
 
 
 #
-# Key points paragraph preview
+# Key points paragraph renderer
 #
 
-@adapter_config(context=(IKeypointsParagraph, IPyAMSLayer), provides=IParagraphPreview)
-class KeypointsParagraphPreview(BaseRenderedContentPreview):
-    """Key points paragraph preview"""
+@adapter_config(context=(IKeypointsParagraph, IPyAMSLayer), provides=IParagraphRenderer)
+class KeypointsParagraphRenderer(BaseRenderedContentRenderer):
+    """Key points paragraph renderer"""