--- a/src/pyams_content/component/paragraph/zmi/video.py Thu Mar 15 12:06:23 2018 +0100
+++ b/src/pyams_content/component/paragraph/zmi/video.py Fri Mar 16 08:17:54 2018 +0100
@@ -18,7 +18,7 @@
# import interfaces
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.interfaces.video import IVideoParagraph, VIDEO_PARAGRAPH_TYPE
from pyams_content.component.paragraph.zmi.interfaces import IParagraphInnerEditor, IParagraphContainerView
from pyams_content.interfaces import MANAGE_CONTENT_PERMISSION
@@ -34,7 +34,7 @@
from pyams_content.component.paragraph.video import VideoParagraph
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_form.group import NamedWidgetsGroup
from pyams_pagelet.pagelet import pagelet_config
@@ -205,9 +205,9 @@
#
-# Video paragraph preview
+# Video paragraph renderer
#
-@adapter_config(context=(IVideoParagraph, IPyAMSLayer), provides=IParagraphPreview)
-class VideoParagraphPreview(BaseRenderedContentPreview):
- """Video paragraph preview"""
+@adapter_config(context=(IVideoParagraph, IPyAMSLayer), provides=IParagraphRenderer)
+class VideoParagraphRenderer(BaseRenderedContentRenderer):
+ """Video paragraph renderer"""