[Erp5-report] r7131 - /erp5/trunk/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_svn/

nobody at svn.erp5.org nobody at svn.erp5.org
Tue May 9 14:48:03 CEST 2006


Author: chris
Date: Tue May  9 14:48:02 2006
New Revision: 7131

URL: http://svn.erp5.org?rev=7131&view=rev
Log:
cosmetic change in file infos (.2f float) + added "kb" unit for file size

Modified:
    erp5/trunk/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_svn/BusinessTemplate_viewSvnInfosFile.xml

Modified: erp5/trunk/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_svn/BusinessTemplate_viewSvnInfosFile.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_svn/BusinessTemplate_viewSvnInfosFile.xml?rev=7131&r1=7130&r2=7131&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_svn/BusinessTemplate_viewSvnInfosFile.xml (original)
+++ erp5/trunk/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_svn/BusinessTemplate_viewSvnInfosFile.xml Tue May  9 14:48:02 2006
@@ -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




More information about the Erp5-report mailing list