fix for issue 1642

This commit is contained in:
niphlod
2013-08-20 22:22:29 +02:00
parent 6448518ce0
commit 3421447d7f
2 changed files with 4 additions and 3 deletions
+2 -2
View File
@@ -296,8 +296,8 @@ def site():
apps = [f for f in apps if f in FILTER_APPS]
apps = sorted(apps, lambda a, b: cmp(a.upper(), b.upper()))
return dict(app=None, apps=apps, myversion=myversion,
myplatform = platform.python_version()
return dict(app=None, apps=apps, myversion=myversion, myplatform=myplatform,
form_create=form_create, form_update=form_update)
+2 -1
View File
@@ -78,7 +78,8 @@
<h4>{{=T("Version")}}</h4>
<p>
<tt>{{=myversion}}</tt><br/>
({{=T("Running on %s", request.env.server_software)}})
{{running_on = T("Running on %s", request.env.server_software or 'Unknown')}}
({{="%s, Python %s" % (running_on, myplatform)}})
</p>
<p id="check_version" class="row-buttons">
{{if session.check_version:}}