diff rhodecode/templates/files/files_browser.html @ 583:95b746f2f0ed

fixed nasty bug when browsing on renames. Turned off dirsize until new vcs release. some templating updates
author Marcin Kuzminski <marcin@python-works.com>
date Mon, 11 Oct 2010 10:46:05 +0200
parents 1e757ac98988
children fcf599cd3404 bee56f209c40
line wrap: on
line diff
--- a/rhodecode/templates/files/files_browser.html	Mon Oct 11 01:58:19 2010 +0200
+++ b/rhodecode/templates/files/files_browser.html	Mon Oct 11 10:46:05 2010 +0200
@@ -49,7 +49,9 @@
 						${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))}
 		             </td>
 		             <td>
+		             %if node.is_file():
 		             	${h.format_byte_size(node.size,binary=True)}
+		             %endif	
 		             </td>
 		             <td>
 		              %if node.is_file():