Merge branch dev-dc
authorThierry Florac <thierry.florac@onf.fr>
Tue, 10 Jul 2018 17:03:58 +0200
changeset 83 90b84b6b8caf
parent 80 9563247eb2f1 (diff)
parent 82 29e43fc3a6a0 (current diff)
child 84 584177939475
Merge branch dev-dc
src/pyams_default_theme/component/keynumber/portlet/__init__.py
--- 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")