author | Sylvain Thénault <sylvain.thenault@logilab.fr> |
Tue, 06 Jul 2010 11:34:23 +0200 | |
changeset 5902 | c344b3079a2d |
parent 5901 | 782b27eaf97a |
child 5904 | 6371b6760dc9 |
web/webconfig.py | file | annotate | diff | comparison | revisions |
--- 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)