changeset 607:ff449e9e6e38

fixed chrome repo switcher issue
author Marcin Kuzminski <marcin@python-works.com>
date Mon, 18 Oct 2010 04:11:59 +0200
parents f31f1327c1e9
children edf8567be8ed
files rhodecode/lib/middleware/simplehg.py rhodecode/public/css/style.css
diffstat 2 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/rhodecode/lib/middleware/simplehg.py	Mon Oct 18 03:39:16 2010 +0200
+++ b/rhodecode/lib/middleware/simplehg.py	Mon Oct 18 04:11:59 2010 +0200
@@ -86,8 +86,8 @@
             except:
                 log.error(traceback.format_exc())
                 return HTTPInternalServerError()(environ, start_response)
+
             #check permissions for this repository
-
             if action == 'push':
                 if not HasPermissionAnyMiddleware('repository.write',
                                                   'repository.admin')\
@@ -95,6 +95,7 @@
                     return HTTPForbidden()(environ, start_response)
 
             else:
+                #any other action need at least read permission
                 if not HasPermissionAnyMiddleware('repository.read',
                                                   'repository.write',
                                                   'repository.admin')\
--- a/rhodecode/public/css/style.css	Mon Oct 18 03:39:16 2010 +0200
+++ b/rhodecode/public/css/style.css	Mon Oct 18 04:11:59 2010 +0200
@@ -357,7 +357,6 @@
 max-height:275px;
 overflow-x:hidden;
 overflow-y:auto;
-white-space:nowrap;
 }
 
 #header #header-inner #quick li ul li {
@@ -1442,7 +1441,7 @@
 }
 
 #footer p {
-background:none repeat scroll 0 0 #2F2F2F;
+background:url("../images/header_inner.png") repeat-x scroll 0 0 #003367;
 color:#FFF;
 font-weight:700;
 padding:15px 25px 15px 0;
@@ -2150,10 +2149,10 @@
 }
 
 #content {
-min-height:100%;
+min-height:85%;
 clear:both;
 overflow:hidden;
-padding:10px 30px;
+padding:14px 30px;
 }
 
 #content div.box div.title div.search {