Commit 6b93c8a7 authored by Jérome Perrin's avatar Jérome Perrin

right align int values


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3618 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 1ee48e50
...@@ -1840,6 +1840,8 @@ onChange="submitAction(this.form,'%s/portal_selections/setReportRoot')"> ...@@ -1840,6 +1840,8 @@ onChange="submitAction(this.form,'%s/portal_selections/setReportRoot')">
pass pass
if type(value) is type(1.0): if type(value) is type(1.0):
list_body += '<td class="Data" align="right">%.2f</td>' % value list_body += '<td class="Data" align="right">%.2f</td>' % value
elif type(value) is type(1) :
list_body += '<td class="Data" align="right">%s</td>' % value
else: else:
list_body += '<td class="Data">' + str(value) + '</td>' list_body += '<td class="Data">' + str(value) + '</td>'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment