--- a/src/pyams_content/component/gallery/zmi/paragraph.py Thu Mar 15 12:06:23 2018 +0100
+++ b/src/pyams_content/component/gallery/zmi/paragraph.py Fri Mar 16 08:17:54 2018 +0100
@@ -19,7 +19,7 @@
from pyams_content.component.gallery.interfaces import IGalleryParagraph, IBaseGallery, GALLERY_PARAGRAPH_TYPE
from pyams_content.component.gallery.zmi.interfaces import IGalleryContentsView
from pyams_content.component.paragraph.interfaces import IParagraphContainerTarget, IParagraphContainer, \
- IParagraphPreview
+ IParagraphRenderer
from pyams_content.component.paragraph.zmi.interfaces import IParagraphInnerEditor, IParagraphContainerView
from pyams_content.interfaces import MANAGE_CONTENT_PERMISSION
from pyams_form.interfaces.form import IInnerForm, IEditFormButtons, IInnerSubForm
@@ -33,7 +33,7 @@
from pyams_content.component.gallery.paragraph import Gallery
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_content.shared.common.zmi import WfSharedContentPermissionMixin
from pyams_pagelet.pagelet import pagelet_config
@@ -185,9 +185,9 @@
#
-# Gallery paragraph preview
+# Gallery paragraph renderer
#
-@adapter_config(context=(IGalleryParagraph, IPyAMSLayer), provides=IParagraphPreview)
-class GalleryParagraphPreview(BaseRenderedContentPreview):
- """Gallery preview"""
+@adapter_config(context=(IGalleryParagraph, IPyAMSLayer), provides=IParagraphRenderer)
+class GalleryParagraphRenderer(BaseRenderedContentRenderer):
+ """Gallery paragraph renderer"""