diff --git a/VERSION b/VERSION index 2fd0605e..cc336fad 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.0.7 (2012-09-05 09:26:33) stable +Version 2.0.7 (2012-09-05 10:47:43) stable diff --git a/applications/admin/controllers/default.py b/applications/admin/controllers/default.py index d3578578..9b1dbedb 100644 --- a/applications/admin/controllers/default.py +++ b/applications/admin/controllers/default.py @@ -137,7 +137,7 @@ def check_version(): elif new_version != True: return A(T('web2py is up to date'), _href=WEB2PY_URL) elif platform.system().lower() in ('windows','win32','win64') and os.path.exists("web2py.exe"): - return SPAN('You should upgrade to version %s' % version_number) + return SPAN('You should upgrade to version %s.%s.%s' % version_number[:3]) else: return sp_button(URL('upgrade_web2py'), T('upgrade now')) \ + XML(' %s.%s.%s' \