src/pyams_content/component/gallery/zmi/paragraph.py
changeset 555 8e8a14452567
parent 550 9658debb49a3
child 591 b694d5667d17
--- a/src/pyams_content/component/gallery/zmi/paragraph.py	Thu May 24 10:51:45 2018 +0200
+++ b/src/pyams_content/component/gallery/zmi/paragraph.py	Fri May 25 08:03:41 2018 +0200
@@ -18,8 +18,7 @@
 # import interfaces
 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, \
-    IParagraphRenderer
+from pyams_content.component.paragraph.interfaces import IParagraphContainerTarget, IParagraphContainer
 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, IInnerSubForm
@@ -33,7 +32,6 @@
 from pyams_content.component.gallery.paragraph import Gallery
 from pyams_content.component.paragraph.zmi import BaseParagraphAJAXAddForm, BaseParagraphAJAXEditForm, \
     BaseParagraphAddMenu, BaseParagraphPropertiesEditForm, get_json_paragraph_refresh_event, IParagraphEditFormButtons
-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
@@ -178,12 +176,3 @@
     url = 'add-media.html'
     modal_target = True
     stop_propagation = True
-
-
-#
-# Gallery paragraph renderer
-#
-
-@adapter_config(context=(IGalleryParagraph, IPyAMSLayer), provides=IParagraphRenderer)
-class GalleryParagraphRenderer(BaseRenderedContentRenderer):
-    """Gallery paragraph renderer"""