Skip to content

Commit

Permalink
change bootstrap default version to 2.0.3
Browse files Browse the repository at this point in the history
git-svn-id: https://plugs.googlecode.com/svn/trunk@196 912515bb-fe1b-d127-1567-e02edd584596
  • Loading branch information
limodou committed Apr 24, 2012
1 parent 2db3c72 commit 76b98b4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
2 changes: 1 addition & 1 deletion plugs/ui/bootstrap/settings.ini
@@ -1,2 +1,2 @@
[UI_CONFIG]
bootstrap_version = '2.0.2'
bootstrap_version = '2.0.3'
10 changes: 2 additions & 8 deletions plugs/ui/bootstrap/template_plugins/bootstrap.py
@@ -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 []
Expand All @@ -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)

Expand All @@ -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.