--- a/src/pyams_default_theme/shared/site/portlet/__init__.py Fri Dec 28 11:05:40 2018 +0100
+++ b/src/pyams_default_theme/shared/site/portlet/__init__.py Sun Dec 30 18:11:35 2018 +0100
@@ -46,6 +46,7 @@
"""Site container summary portlet default renderer"""
label = _("Site container summary")
+ weight = 1
@adapter_config(name='summary-panels',
@@ -55,4 +56,16 @@
class SiteContainerSummaryPortletPanelsRenderer(BaseSiteSummaryPortletRenderer):
"""Site container summary portlet panels renderer"""
- label = _("Vertical panels with panoramic illustrations")
+ label = _("Three vertical panels with panoramic illustrations")
+ weight = 2
+
+
+@adapter_config(name='summary-panels-vertical',
+ context=(IPortalContext, IPyAMSLayer, Interface, ISiteContainerSummaryPortletSettings),
+ provides=IPortletRenderer)
+@template_config(template='templates/site-panels-vertical.pt', layer=IPyAMSLayer)
+class SiteContainerSummaryPortletVerticalPanelsRenderer(BaseSiteSummaryPortletRenderer):
+ """Site container summary portlet with vertical illustrations renderer"""
+
+ label = _("Four vertical panels with portrait illustrations")
+ weight = 3