other improvements, thanks Vladyslav

This commit is contained in:
mdipierro
2012-07-20 17:37:53 -05:00
parent 903b33e511
commit 3b0935a68b
6 changed files with 100 additions and 63 deletions
+3 -3
View File
@@ -392,7 +392,7 @@ def peek():
app = get_app(request.vars.app)
filename = '/'.join(request.args)
if request.vars.app:
path = abspath(filename, gluon=False)
path = abspath(filename)
else:
path = apath(filename, r=request)
try:
@@ -696,7 +696,7 @@ def edit_language():
s = strings[key]
(prefix, sep, key) = key.partition('\x01')
if sep:
prefix = SPAN(prefix+': ', _style='color: blue;')
prefix = SPAN(prefix+': ', _class='tm_ftag')
k = key
else:
(k, prefix) = (prefix, '')
@@ -1034,7 +1034,7 @@ def create_file():
anchor='#'+request.vars.id if request.vars.id else ''
if request.vars.app:
app = get_app(request.vars.app)
path = abspath(request.vars.location, gluon=False)
path = abspath(request.vars.location)
else:
app = get_app(name=request.vars.location.split('/')[0])
path = apath(request.vars.location, r=request)
+1
View File
@@ -1248,3 +1248,4 @@ color: #222;
.error, .error a {color:red}
.pluralsform thead td {font-weight:bold; font-size:1.2em; padding-bottom:5px}
.pluralsform td {padding-left:5px}
.tm_ftag {color:blue}