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