Commit 8fd1a829 authored by Christophe Dumez's avatar Christophe Dumez

cosmetic change in file infos (.2f float) + added "kb" unit for file size

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@7131 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 797d68d5
......@@ -64,7 +64,7 @@
<span tal:condition="infos_dict">\n
<table width=60%% border=1>\n
<tr height="18px"><td style=\'background-color: rgb(204, 204, 255);\'><b>Name</b></td><td style=\'background-color: white;\' tal:content="python:path.split(\'/\')[-1]">filename</td></tr>\n
<tr height="18px"><td style=\'background-color: rgb(204, 204, 255);\'><b>Size</b></td><td style=\'background-color: white;\' tal:content="python:infos_dict[\'size\']/1024.">filesize</td></tr>\n
<tr height="18px"><td style=\'background-color: rgb(204, 204, 255);\'><b>Size</b></td><td style=\'background-color: white;\' tal:content="python:\'%.2f kb\'%(infos_dict[\'size\']/1024.0)">filesize</td></tr>\n
<tr height="18px"><td style=\'background-color: rgb(204, 204, 255);\'><b>Type</b></td><td style=\'background-color: white;\' tal:content="python:infos_dict[\'kind\']">filekind</td></tr>\n
<tr height="18px"><td style=\'background-color: rgb(204, 204, 255);\'><b>Last Change Revision</b></td><td style=\'background-color: white;\' tal:content="python:infos_dict[\'created_rev\']">last revision</td></tr>\n
<tr height="18px"><td style=\'background-color: rgb(204, 204, 255);\'><b>Last Change Author</b></td><td style=\'background-color: white;\' tal:content="python:infos_dict[\'last_author\']">last author</td></tr>\n
......
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