Renamed "container_class" TALES extension to "skin_container_class"
authorThierry Florac <tflorac@ulthar.net>
Thu, 05 Aug 2021 09:22:02 +0200
changeset 579 4b2f978ac363
parent 578 af086ad9c909
child 580 5229fccd92a7
Renamed "container_class" TALES extension to "skin_container_class"
src/pyams_skin/skin.py
--- a/src/pyams_skin/skin.py	Tue Jul 13 08:32:28 2021 +0200
+++ b/src/pyams_skin/skin.py	Thu Aug 05 09:22:02 2021 +0200
@@ -163,11 +163,11 @@
                 return request.registry.queryUtility(ISkin, skin)
 
 
-@adapter_config(name='container_class',
+@adapter_config(name='skin_container_class',
                 context=(Interface, IPyAMSLayer, Interface),
                 provides=ITALESExtension)
-class ContainerClassTALESExtension(ContextRequestViewAdapter):
-    """Container class TALES extension"""
+class SkinContainerClassTALESExtension(ContextRequestViewAdapter):
+    """Skin container class TALES extension"""
 
     def render(self, context=None, default=''):
         if context is None: