# HG changeset patch # User Marcin Kuzminski # Date 1274400814 -7200 # Node ID e35210568664290db6bf57bb42dc9ff6ade15cc4 # Parent e5a25c57c97f05469f4c9c4463b159b9b7026875 files browser updated to use webhelpers huminizer for file size diff -r e5a25c57c97f -r e35210568664 pylons_app/templates/files/files.html --- a/pylons_app/templates/files/files.html Fri May 21 02:12:41 2010 +0200 +++ b/pylons_app/templates/files/files.html Fri May 21 02:13:34 2010 +0200 @@ -25,7 +25,6 @@ <%def name="main()"> -
%if c.files_list: diff -r e5a25c57c97f -r e35210568664 pylons_app/templates/files/files_browser.html --- 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 @@ %if node.is_file(): - ${h.filesizeformat(node.size)} + ${h.format_byte_size(node.size,binary=True)} %endif