web/webconfig.py
changeset 5902 c344b3079a2d
parent 5658 7b9553a9db65
child 5907 5eba1248e12b
--- a/web/webconfig.py	Tue Jul 06 11:31:34 2010 +0200
+++ b/web/webconfig.py	Tue Jul 06 11:34:23 2010 +0200
@@ -285,6 +285,9 @@
         if directory is None:
             return None
         if rdirectory == 'data' and rid.endswith('.css'):
+            if self['use-old-css'] and rid == 'cubicweb.css':
+                # @import('cubicweb.css') in css
+                rid == 'cubicweb.old.css'
             return self.uiprops.process_resource(join(directory, rdirectory), rid)
         return join(directory, rdirectory)