Show More
@@ -223,7 +223,7 | |||||
223 | </a> |
|
223 | </a> | |
224 | <ul> |
|
224 | <ul> | |
225 | %if h.HasRepoPermissionAll('repository.admin')(c.repo_name): |
|
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 | <li>${h.link_to(_('settings'),h.url('edit_repo',repo_name=c.repo_name),class_='settings')}</li> |
|
227 | <li>${h.link_to(_('settings'),h.url('edit_repo',repo_name=c.repo_name),class_='settings')}</li> | |
228 | %else: |
|
228 | %else: | |
229 | <li>${h.link_to(_('settings'),h.url('repo_settings_home',repo_name=c.repo_name),class_='settings')}</li> |
|
229 | <li>${h.link_to(_('settings'),h.url('repo_settings_home',repo_name=c.repo_name),class_='settings')}</li> |
@@ -250,7 +250,11 | |||||
250 | <div class="table"> |
|
250 | <div class="table"> | |
251 |
|
251 | |||
252 | %if c.no_data: |
|
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 | %endif: |
|
258 | %endif: | |
255 | <div id="commit_history" style="width:460px;height:300px;float:left"></div> |
|
259 | <div id="commit_history" style="width:460px;height:300px;float:left"></div> | |
256 | <div style="clear: both;height: 10px"></div> |
|
260 | <div style="clear: both;height: 10px"></div> |
General Comments 0
You need to be logged in to leave comments.
Login now