--- a/src/pyams_content/component/paragraph/zmi/pictogram.py Thu Mar 15 12:06:23 2018 +0100
+++ b/src/pyams_content/component/paragraph/zmi/pictogram.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.pictogram import PICTOGRAM_PARAGRAPH_TYPE, IPictogramParagraph, \
IPictogramContainer, IPictogramContainerTarget, IPictogramItem
from pyams_content.component.paragraph.zmi import IParagraphContainerView
@@ -38,7 +38,7 @@
from pyams_content.component.paragraph.pictogram import PictogramParagraph, PictogramItem
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
@@ -176,12 +176,12 @@
#
-# Pictogram paragraph preview
+# Pictogram paragraph renderer
#
-@adapter_config(context=(IPictogramParagraph, IPyAMSLayer), provides=IParagraphPreview)
-class PictogramParagraphPreview(BaseRenderedContentPreview):
- """Pictogram paragraph preview"""
+@adapter_config(context=(IPictogramParagraph, IPyAMSLayer), provides=IParagraphRenderer)
+class PictogramParagraphRenderer(BaseRenderedContentRenderer):
+ """Pictogram paragraph renderer"""
#