changeset 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 ff15232ce9d2
children 20940ddb5f4d
files rhodecode/public/css/style.css rhodecode/public/images/background.png rhodecode/public/images/header_background.png rhodecode/public/images/menu_arrow.png rhodecode/templates/files/files_browser.html
diffstat 5 files changed, 3 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/rhodecode/public/css/style.css	Mon Oct 11 01:58:19 2010 +0200
+++ b/rhodecode/public/css/style.css	Mon Oct 11 10:46:05 2010 +0200
@@ -55,7 +55,7 @@
 	margin: 0;
 	padding: 0;
 	height: 100%;
-	background: #d1d1d1 url("../images/background.png") repeat;
+	background: url("../images/background.png") repeat scroll 0 0 #B0B0B0;
 	font-family: Lucida Grande, Verdana, Lucida Sans Regular,
 		Lucida Sans Unicode, Arial, sans-serif;
 	font-size: 12px;
@@ -230,7 +230,6 @@
 #header {
 	margin: 0;
 	padding: 0 30px 0 30px;
-	background: #b0b0b0 url("../images/header_background.png") repeat;
 }
 
 /*
@@ -2193,7 +2192,6 @@
 	padding: 0px 30px;
 	clear: both;
 	overflow: hidden;
-	background: url("../images/header_background.png") repeat scroll 0 0 #B0B0B0;
 	text-align: right;
 }
 
@@ -3414,7 +3412,6 @@
 	min-height: 100%;
 	clear: both;
 	overflow: hidden;
-	background: url("../images/header_background.png") repeat scroll 0 0 #B0B0B0
 }
 
 /*
Binary file rhodecode/public/images/background.png has changed
Binary file rhodecode/public/images/header_background.png has changed
Binary file rhodecode/public/images/menu_arrow.png has changed
--- 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():