--- a/src/pyams_default_theme/component/keynumber/portlet/__init__.py Tue Jul 10 12:20:13 2018 +0200
+++ b/src/pyams_default_theme/component/keynumber/portlet/__init__.py Tue Jul 10 17:03:58 2018 +0200
@@ -32,7 +32,7 @@
from pyams_default_theme import _
-class KeyNumberPortletDefaultRenderer(PortletRenderer):
+class KeyNumberPortletBaseRenderer(PortletRenderer):
"""Key numbers portlet default renderer"""
def get_link_info(cls, link):
@@ -49,7 +49,7 @@
@adapter_config(context=(IPortalContext, IPyAMSLayer, Interface, IKeyNumberPortletSettings),
provides=IPortletRenderer)
@template_config(template='templates/horizontal-render.pt', layer=IPyAMSLayer)
-class KeyNumberPortletHorizontalRenderer(KeyNumberPortletDefaultRenderer):
+class KeyNumberPortletHorizontalRenderer(KeyNumberPortletBaseRenderer):
"""Key numbers portlet horizontal renderer"""
label = _("Horizontal list with carousel")
@@ -58,7 +58,7 @@
@adapter_config(name='vertical', context=(IPortalContext, IPyAMSLayer, Interface, IKeyNumberPortletSettings),
provides=IPortletRenderer)
@template_config(template='templates/vertical-render.pt', layer=IPyAMSLayer)
-class KeyNumberPortletVerticalRenderer(KeyNumberPortletDefaultRenderer):
+class KeyNumberPortletVerticalRenderer(KeyNumberPortletBaseRenderer):
"""Key numbers portlet vertical renderer"""
label = _("Vertical list")