--- a/src/pyams_content/component/paragraph/zmi/verbatim.py Thu Mar 15 12:06:23 2018 +0100
+++ b/src/pyams_content/component/paragraph/zmi/verbatim.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.verbatim import IVerbatimParagraph, VERBATIM_PARAGRAPH_TYPE
from pyams_content.component.paragraph.zmi.interfaces import IParagraphInnerEditor, IParagraphContainerView
from pyams_content.interfaces import MANAGE_CONTENT_PERMISSION
@@ -32,7 +32,7 @@
from pyams_content.component.paragraph.verbatim import VerbatimParagraph
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
@@ -156,9 +156,9 @@
#
-# Verbatim paragraph preview
+# Verbatim paragraph renderer
#
-@adapter_config(context=(IVerbatimParagraph, IPyAMSLayer), provides=IParagraphPreview)
-class VerbatimParagraphPreview(BaseRenderedContentPreview):
- """Verbatim paragraph preview"""
+@adapter_config(context=(IVerbatimParagraph, IPyAMSLayer), provides=IParagraphRenderer)
+class VerbatimParagraphRenderer(BaseRenderedContentRenderer):
+ """Verbatim paragraph renderer"""