load png resources in css with ?version

This commit is contained in:
j 2014-01-22 10:28:03 +00:00
parent d8221192d9
commit 2e2a358cd0

View file

@ -61,6 +61,7 @@ def build_oxjs(downloads=False, geo=False):
css = read_file(source_path + 'Ox.UI/css/theme.css')
for theme in themes:
theme_css = parse_css(css, theme_data[theme])
theme_css = theme_css.replace('.png)', '.png?%s)' % version)
write_file('%sOx.UI/themes/%s/css/theme.css' % (build_path, theme), theme_css)
write_file('%sOx.UI/themes/%s/css/theme.css' % (dev_path, theme), theme_css)