comparison 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
comparison
equal deleted inserted replaced
167:e5a25c57c97f 168:e35210568664
39 <td> 39 <td>
40 ${h.link_to(node.name,h.url('files_home',repo_name=c.repo_name,revision=c.cur_rev,f_path=node.path),class_=file_class(node))} 40 ${h.link_to(node.name,h.url('files_home',repo_name=c.repo_name,revision=c.cur_rev,f_path=node.path),class_=file_class(node))}
41 </td> 41 </td>
42 <td> 42 <td>
43 %if node.is_file(): 43 %if node.is_file():
44 ${h.filesizeformat(node.size)} 44 ${h.format_byte_size(node.size,binary=True)}
45 %endif 45 %endif
46 </td> 46 </td>
47 <td> 47 <td>
48 %if node.is_file(): 48 %if node.is_file():
49 ${node.last_changeset.revision} 49 ${node.last_changeset.revision}