Changeset - ff449e9e6e38
[Not reviewed]
default
0 2 0
Marcin Kuzminski - 15 years ago 2010-10-18 04:11:59
marcin@python-works.com
fixed chrome repo switcher issue
2 files changed with 5 insertions and 5 deletions:
0 comments (0 inline, 0 general)
rhodecode/lib/middleware/simplehg.py
Show inline comments
 
@@ -83,21 +83,22 @@ class SimpleHg(object):
 
            username = self.__get_environ_user(environ)
 
            try:
 
                user = self.__get_user(username)
 
            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')\
 
                                                    (user, repo_name):
 
                    return HTTPForbidden()(environ, start_response)
 

	
 
            else:
 
                #any other action need at least read permission
 
                if not HasPermissionAnyMiddleware('repository.read',
 
                                                  'repository.write',
 
                                                  'repository.admin')\
 
                                                    (user, repo_name):
 
                    return HTTPForbidden()(environ, start_response)
 

	
rhodecode/public/css/style.css
Show inline comments
 
@@ -354,13 +354,12 @@ padding:0;
 
}
 
 
#header #header-inner #quick ul.repo_switcher {
 
max-height:275px;
 
overflow-x:hidden;
 
overflow-y:auto;
 
white-space:nowrap;
 
}
 
 
#header #header-inner #quick li ul li {
 
border-bottom:1px solid #ddd;
 
}
 
 
@@ -1439,13 +1438,13 @@ overflow:hidden;
 
text-align:right;
 
margin:0;
 
padding:0 30px;
 
}
 
 
#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;
 
}
 
 
#login div.title {
 
@@ -2147,16 +2146,16 @@ padding:2px 2px 0;
 
 
#header,#content,#footer {
 
min-width:1224px;
 
}
 
 
#content {
 
min-height:100%;
 
min-height:85%;
 
clear:both;
 
overflow:hidden;
 
padding:10px 30px;
 
padding:14px 30px;
 
}
 
 
#content div.box div.title div.search {
 
background:url("../../images/title_link.png") no-repeat top left;
 
border-left:1px solid #316293;
 
}
0 comments (0 inline, 0 general)