diff pylons_app/templates/files/files_browser.html @ 168:e35210568664

files browser updated to use webhelpers huminizer for file size
author Marcin Kuzminski <marcin@python-works.com>
date Fri, 21 May 2010 02:13:34 +0200
parents b3c93efd1c97
children 373ddb868bd6
line wrap: on
line diff
--- a/pylons_app/templates/files/files_browser.html	Fri May 21 02:12:41 2010 +0200
+++ b/pylons_app/templates/files/files_browser.html	Fri May 21 02:13:34 2010 +0200
@@ -41,7 +41,7 @@
 		             </td>
 		             <td>
 		                %if node.is_file():
-		             		${h.filesizeformat(node.size)}
+		             		${h.format_byte_size(node.size,binary=True)}
 		             	%endif
 		             </td>
 		             <td>