src/pyams_portal/interfaces/__init__.py
changeset 29 3002631ab3b7
parent 5 670b7956c689
child 34 0a7a5155d352
--- a/src/pyams_portal/interfaces/__init__.py	Wed Jun 07 09:55:40 2017 +0200
+++ b/src/pyams_portal/interfaces/__init__.py	Wed Jun 28 10:13:17 2017 +0200
@@ -84,6 +84,12 @@
                    required=True,
                    default=True)
 
+    renderer = Choice(title=_("Portlet renderer"),
+                      description=_("Name of renderer used to render this portlet"),
+                      vocabulary='PyAMS portlet renderers',
+                      required=False,
+                      default='')
+
 
 PORTLETS_CONFIGURATION_KEY = 'pyams_portal.portlets'
 
@@ -144,6 +150,8 @@
     a request, a view and a portlet
     """
 
+    label = Attribute("Renderer name")
+
 
 class IPortalPortletsConfiguration(IContained):
     """Portal template portlet configuration interface"""