Permalink
Browse files

change bootstrap default version to 2.0.3

git-svn-id: https://plugs.googlecode.com/svn/trunk@196 912515bb-fe1b-d127-1567-e02edd584596
  • Loading branch information...
1 parent 2db3c72 commit 76b98b472f0d98ad76b7b704ff21ace30b6eba27 limodou committed Apr 24, 2012
Showing with 3 additions and 9 deletions.
  1. +1 −1 plugs/ui/bootstrap/settings.ini
  2. +2 −8 plugs/ui/bootstrap/template_plugins/bootstrap.py
@@ -1,2 +1,2 @@
[UI_CONFIG]
-bootstrap_version = '2.0.2'
+bootstrap_version = '2.0.3'
@@ -1,4 +1,4 @@
-def call(app, var, env, plugins=None, js=True, responsive=False, use_less=False, version=None):
+def call(app, var, env, plugins=None, js=True, responsive=False, version=None):
from uliweb import settings
plugins = plugins or []
@@ -7,10 +7,7 @@ def call(app, var, env, plugins=None, js=True, responsive=False, use_less=False,
a.append('<!--[if lt IE 9]>')
a.append('bootstrap/asset/html5.js')
a.append('<![endif]-->')
- if use_less:
- a.append('bootstrap/%s/lib/bootstrap.less' % version)
- else:
- a.append('bootstrap/%s/bootstrap.min.css' % version)
+ a.append('bootstrap/%s/bootstrap.min.css' % version)
if responsive:
a.append('bootstrap/%s/bootstrap-responsive.min.css' % version)
@@ -29,7 +26,4 @@ def call(app, var, env, plugins=None, js=True, responsive=False, use_less=False,
d = {'toplinks':a, 'depends':[]}
if jquery:
d['depends'] = [('jquery', {'ui':jquery_ui})]
- if use_less:
- d['depends_after'] = ['less']
-
return d

0 comments on commit 76b98b4

Please sign in to comment.