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