src/pyams_portal/portlets/image/__init__.py
changeset 33 24c6db8d13f1
parent 18 3d81c3b94605
child 45 98c3b71d4c32
--- a/src/pyams_portal/portlets/image/__init__.py	Wed Jun 28 10:15:38 2017 +0200
+++ b/src/pyams_portal/portlets/image/__init__.py	Wed Jun 28 10:16:27 2017 +0200
@@ -70,9 +70,4 @@
 class ImagePortletRenderer(PortletRenderer):
     """Image portlet renderer"""
 
-    @property
-    def slot_configuration(self):
-        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)
+    label = _("Responsive image renderer")