Show More
@@ -481,6 +481,13 b' margin:0;' | |||||
481 | padding:12px 9px 7px 24px; |
|
481 | padding:12px 9px 7px 24px; | |
482 | } |
|
482 | } | |
483 |
|
483 | |||
|
484 | #header #header-inner #quick li ul li a.admin,#header #header-inner #quick li ul li a.admin:hover { | |||
|
485 | background:#FFF url("../images/icons/cog_edit.png") no-repeat 4px 9px; | |||
|
486 | width:167px; | |||
|
487 | margin:0; | |||
|
488 | padding:12px 9px 7px 24px; | |||
|
489 | } | |||
|
490 | ||||
484 | #content #left { |
|
491 | #content #left { | |
485 | left:0; |
|
492 | left:0; | |
486 | width:280px; |
|
493 | width:280px; |
@@ -185,6 +185,21 b'' | |||||
185 | %endif |
|
185 | %endif | |
186 | <li>${h.link_to(_('fork'),h.url('repo_fork_home',repo_name=c.repo_name),class_='fork')}</li> |
|
186 | <li>${h.link_to(_('fork'),h.url('repo_fork_home',repo_name=c.repo_name),class_='fork')}</li> | |
187 | <li>${h.link_to(_('search'),h.url('search_repo',search_repo=c.repo_name),class_='search')}</li> |
|
187 | <li>${h.link_to(_('search'),h.url('search_repo',search_repo=c.repo_name),class_='search')}</li> | |
|
188 | ||||
|
189 | %if h.HasPermissionAll('hg.admin')('access admin main page'): | |||
|
190 | <li> | |||
|
191 | ${h.link_to(_('admin'),h.url('admin_home'),class_='admin')} | |||
|
192 | <ul> | |||
|
193 | <li>${h.link_to(_('journal'),h.url('admin_home'),class_='journal')}</li> | |||
|
194 | <li>${h.link_to(_('repositories'),h.url('repos'),class_='repos')}</li> | |||
|
195 | <li>${h.link_to(_('users'),h.url('users'),class_='users')}</li> | |||
|
196 | <li>${h.link_to(_('permissions'),h.url('edit_permission',id='default'),class_='permissions')}</li> | |||
|
197 | <li class="last">${h.link_to(_('settings'),h.url('admin_settings'),class_='settings')}</li> | |||
|
198 | </ul> | |||
|
199 | </li> | |||
|
200 | %endif | |||
|
201 | ||||
|
202 | ||||
188 | ## %if h.HasRepoPermissionAll('repository.admin')(c.repo_name): |
|
203 | ## %if h.HasRepoPermissionAll('repository.admin')(c.repo_name): | |
189 | ## <li class="last"> |
|
204 | ## <li class="last"> | |
190 | ## ${h.link_to(_('delete'),'#',class_='delete')} |
|
205 | ## ${h.link_to(_('delete'),'#',class_='delete')} |
General Comments 0
You need to be logged in to leave comments.
Login now