--- a/src/pyams_content/component/paragraph/zmi/video.py Thu Feb 22 10:15:00 2018 +0100
+++ b/src/pyams_content/component/paragraph/zmi/video.py Thu Feb 22 12:00:05 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, \
- IParagraphSummary
+ IParagraphPreview
from pyams_content.component.paragraph.interfaces.video import IVideoParagraph
from pyams_content.component.paragraph.zmi.interfaces import IParagraphInnerEditor, IParagraphContainerView
from pyams_content.interfaces import MANAGE_CONTENT_PERMISSION
@@ -200,13 +200,13 @@
#
-# Video summary
+# Video paragraph preview
#
-@adapter_config(context=(IVideoParagraph, IPyAMSLayer), provides=IParagraphSummary)
-@template_config(template='templates/video-summary.pt', layer=IPyAMSLayer)
-class VideoParagraphSummary(BaseContentProvider):
- """Video paragraph summary"""
+@adapter_config(context=(IVideoParagraph, IPyAMSLayer), provides=IParagraphPreview)
+@template_config(template='templates/video-preview.pt', layer=IPyAMSLayer)
+class VideoParagraphPreview(BaseContentProvider):
+ """Video paragraph preview"""
language = None