--- a/src/pyams_portal/zmi/portlets/image.py Wed Jun 28 10:14:47 2017 +0200
+++ b/src/pyams_portal/zmi/portlets/image.py Wed Jun 28 10:15:38 2017 +0200
@@ -49,13 +49,3 @@
@template_config(template='templates/image-preview.pt', layer=IPyAMSLayer)
class ImagePortletPreviewer(PortletPreviewer):
"""Image portlet previewer"""
-
- @property
- def slot_configuration(self):
- if IPortalTemplate.providedBy(self.context):
- template = self.context
- else:
- template = IPortalPage(self.context).template
- config = IPortalTemplateConfiguration(template)
- slot_id, slot_name = config.get_portlet_slot(self.settings.configuration.portlet_id)
- return config.get_slot_configuration(slot_name)