Show More
@@ -223,7 +223,7 | |||
|
223 | 223 | </a> |
|
224 | 224 | <ul> |
|
225 | 225 | %if h.HasRepoPermissionAll('repository.admin')(c.repo_name): |
|
226 |
%if h.HasPermissionAll('hg.admin')('access |
|
|
226 | %if h.HasPermissionAll('hg.admin')('access settings on repository'): | |
|
227 | 227 | <li>${h.link_to(_('settings'),h.url('edit_repo',repo_name=c.repo_name),class_='settings')}</li> |
|
228 | 228 | %else: |
|
229 | 229 | <li>${h.link_to(_('settings'),h.url('repo_settings_home',repo_name=c.repo_name),class_='settings')}</li> |
@@ -250,7 +250,11 | |||
|
250 | 250 | <div class="table"> |
|
251 | 251 | |
|
252 | 252 | %if c.no_data: |
|
253 |
<div style="padding:0 10px 10px 15px;font-size: 1.2em;">${c.no_data_msg} |
|
|
253 | <div style="padding:0 10px 10px 15px;font-size: 1.2em;">${c.no_data_msg} | |
|
254 | %if h.HasPermissionAll('hg.admin')('enable stats on from summary'): | |
|
255 | [${h.link_to(_('enable'),h.url('edit_repo',repo_name=c.repo_name))}] | |
|
256 | %endif | |
|
257 | </div> | |
|
254 | 258 | %endif: |
|
255 | 259 | <div id="commit_history" style="width:460px;height:300px;float:left"></div> |
|
256 | 260 | <div style="clear: both;height: 10px"></div> |
General Comments 0
You need to be logged in to leave comments.
Login now