src/pyams_skin/skin.py
changeset 160 6b3ffcd6dbb1
parent 156 b8b688fc964e
child 288 735cb26095e8
--- a/src/pyams_skin/skin.py	Tue Oct 11 16:11:55 2016 +0200
+++ b/src/pyams_skin/skin.py	Tue Oct 11 16:12:49 2016 +0200
@@ -32,14 +32,6 @@
 from pyams_skin import _
 
 
-@utility_config(name='PyAMS default skin', provides=ISkin)
-class PyAMSSkin(object):
-    """PyAMS default skin"""
-
-    label = _("Default PyAMS skin")
-    layer = IPyAMSLayer
-
-
 @implementer(ISkinnable)
 class SkinnableContent(object):
     """Skinnable content base class"""
@@ -131,3 +123,15 @@
         apply_skin(event.request, PyAMSSkin)
     elif context.skin is None:
         apply_skin(event.request, PyAMSSkin)
+
+
+#
+# Base and default skins
+#
+
+@utility_config(name='PyAMS base skin', provides=ISkin)
+class PyAMSSkin(object):
+    """PyAMS base skin"""
+
+    label = _("PyAMS base skin")
+    layer = IPyAMSLayer