src/pyams_content/component/paragraph/zmi/contact.py
changeset 487 093f201e3168
parent 435 ce4ae073a7f7
child 507 7320a5522ee1
--- a/src/pyams_content/component/paragraph/zmi/contact.py	Thu Mar 15 12:06:23 2018 +0100
+++ b/src/pyams_content/component/paragraph/zmi/contact.py	Fri Mar 16 08:17:54 2018 +0100
@@ -17,7 +17,7 @@
 
 # import interfaces
 from pyams_content.component.paragraph.interfaces import IParagraphContainerTarget, IParagraphContainer, \
-    IBaseParagraph, IParagraphPreview
+    IBaseParagraph, IParagraphRenderer
 from pyams_content.component.paragraph.interfaces.contact import CONTACT_PARAGRAPH_TYPE, IContactParagraph
 from pyams_content.component.paragraph.zmi.interfaces import IParagraphContainerView, IParagraphInnerEditor
 from pyams_content.interfaces import MANAGE_CONTENT_PERMISSION
@@ -32,7 +32,7 @@
 from pyams_content.component.paragraph.contact import ContactParagraph
 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_pagelet.pagelet import pagelet_config
 from pyams_utils.adapter import adapter_config
@@ -167,9 +167,9 @@
 
 
 #
-# Contact paragraph preview
+# Contact paragraph renderer
 #
 
-@adapter_config(context=(IContactParagraph, IPyAMSLayer), provides=IParagraphPreview)
-class ContactParagraphPreview(BaseRenderedContentPreview):
-    """Contact paragraph preview"""
+@adapter_config(context=(IContactParagraph, IPyAMSLayer), provides=IParagraphRenderer)
+class ContactParagraphRenderer(BaseRenderedContentRenderer):
+    """Contact paragraph renderer"""