src/pyams_content/component/gallery/zmi/paragraph.py
changeset 406 5527bc086216
parent 395 2a39b333a585
child 407 0ef5de2d5674
--- a/src/pyams_content/component/gallery/zmi/paragraph.py	Thu Feb 22 10:15:00 2018 +0100
+++ b/src/pyams_content/component/gallery/zmi/paragraph.py	Thu Feb 22 12:00:05 2018 +0100
@@ -19,7 +19,7 @@
 from pyams_content.component.gallery.interfaces import IGalleryParagraph, IBaseGallery
 from pyams_content.component.gallery.zmi.interfaces import IGalleryContentsView
 from pyams_content.component.paragraph.interfaces import IParagraphContainerTarget, IParagraphContainer, \
-    IParagraphSummary
+    IParagraphPreview
 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
@@ -187,12 +187,12 @@
 # Gallery paragraph summary
 #
 
-@adapter_config(context=(IGalleryParagraph, IPyAMSLayer), provides=IParagraphSummary)
-class GalleryParagraphSummary(BaseContentProvider):
-    """Gallery summary"""
+@adapter_config(context=(IGalleryParagraph, IPyAMSLayer), provides=IParagraphPreview)
+class GalleryParagraphPreview(BaseContentProvider):
+    """Gallery preview"""
 
     def __init__(self, context, request):
-        super(GalleryParagraphSummary, self).__init__(context, request)
+        super(GalleryParagraphPreview, self).__init__(context, request)
         self.renderer = self.context.get_renderer(request)
 
     language = None