##// END OF EJS Templates
fixed chrome repo switcher issue
marcink -
r607:ff449e9e default
parent child Browse files
Show More
@@ -86,8 +86,8 b' class SimpleHg(object):'
86 except:
86 except:
87 log.error(traceback.format_exc())
87 log.error(traceback.format_exc())
88 return HTTPInternalServerError()(environ, start_response)
88 return HTTPInternalServerError()(environ, start_response)
89
89 #check permissions for this repository
90 #check permissions for this repository
90
91 if action == 'push':
91 if action == 'push':
92 if not HasPermissionAnyMiddleware('repository.write',
92 if not HasPermissionAnyMiddleware('repository.write',
93 'repository.admin')\
93 'repository.admin')\
@@ -95,6 +95,7 b' class SimpleHg(object):'
95 return HTTPForbidden()(environ, start_response)
95 return HTTPForbidden()(environ, start_response)
96
96
97 else:
97 else:
98 #any other action need at least read permission
98 if not HasPermissionAnyMiddleware('repository.read',
99 if not HasPermissionAnyMiddleware('repository.read',
99 'repository.write',
100 'repository.write',
100 'repository.admin')\
101 'repository.admin')\
@@ -357,7 +357,6 b' padding:0;'
357 max-height:275px;
357 max-height:275px;
358 overflow-x:hidden;
358 overflow-x:hidden;
359 overflow-y:auto;
359 overflow-y:auto;
360 white-space:nowrap;
361 }
360 }
362
361
363 #header #header-inner #quick li ul li {
362 #header #header-inner #quick li ul li {
@@ -1442,7 +1441,7 b' padding:0 30px;'
1442 }
1441 }
1443
1442
1444 #footer p {
1443 #footer p {
1445 background:none repeat scroll 0 0 #2F2F2F;
1444 background:url("../images/header_inner.png") repeat-x scroll 0 0 #003367;
1446 color:#FFF;
1445 color:#FFF;
1447 font-weight:700;
1446 font-weight:700;
1448 padding:15px 25px 15px 0;
1447 padding:15px 25px 15px 0;
@@ -2150,10 +2149,10 b' min-width:1224px;'
2150 }
2149 }
2151
2150
2152 #content {
2151 #content {
2153 min-height:100%;
2152 min-height:85%;
2154 clear:both;
2153 clear:both;
2155 overflow:hidden;
2154 overflow:hidden;
2156 padding:10px 30px;
2155 padding:14px 30px;
2157 }
2156 }
2158
2157
2159 #content div.box div.title div.search {
2158 #content div.box div.title div.search {
General Comments 0
You need to be logged in to leave comments. Login now