--- a/src/pyams_content/component/paragraph/zmi/header.py Thu Feb 22 10:15:00 2018 +0100
+++ b/src/pyams_content/component/paragraph/zmi/header.py Thu Feb 22 12:00:05 2018 +0100
@@ -17,7 +17,7 @@
# import interfaces
from pyams_content.component.paragraph.interfaces import IParagraphContainerTarget, IParagraphContainer, \
- IParagraphSummary
+ IParagraphPreview
from pyams_content.component.paragraph.interfaces.header import IHeaderParagraph
from pyams_content.component.paragraph.zmi.interfaces import IParagraphInnerEditor, IParagraphContainerView
from pyams_content.interfaces import MANAGE_CONTENT_PERMISSION
@@ -140,13 +140,13 @@
#
-# HTML paragraph summary
+# HTML paragraph preview
#
-@adapter_config(context=(IHeaderParagraph, IPyAMSLayer), provides=IParagraphSummary)
-@template_config(template='templates/header-summary.pt', layer=IPyAMSLayer)
-class HeaderParagraphSummary(BaseContentProvider):
- """Header paragraph renderer"""
+@adapter_config(context=(IHeaderParagraph, IPyAMSLayer), provides=IParagraphPreview)
+@template_config(template='templates/header-preview.pt', layer=IPyAMSLayer)
+class HeaderParagraphPreview(BaseContentProvider):
+ """Header paragraph preview"""
language = None