Show More
@@ -192,9 +192,10 b' window.onhashchange = function() {' | |||
|
192 | 192 | </a> |
|
193 | 193 | </li> |
|
194 | 194 | |
|
195 | %if h.HasRepoPermissionAll('repository.admin')(c.repo_name): | |
|
196 |
|
|
|
197 | ${h.link_to(_('Settings'),h.url('edit_repo',repo_name=c.repo_name),class_='settings')} | |
|
195 | %if c.rhodecode_user.username != 'default': | |
|
196 | <li class="repo_size"> | |
|
197 | <a href="#" class="repo-size" onclick="javascript:showRepoSize('repo_size_2','${c.dbrepo.repo_name}','${str(h.get_token())}')">${_('Repository Size')}</a> | |
|
198 | <span id="repo_size_2"></span> | |
|
198 | 199 | </li> |
|
199 | 200 | %endif |
|
200 | 201 | |
@@ -206,10 +207,9 b' window.onhashchange = function() {' | |||
|
206 | 207 | %endif |
|
207 | 208 | </li> |
|
208 | 209 | |
|
209 | %if c.rhodecode_user.username != 'default': | |
|
210 |
<li |
|
|
211 | <a href="#" class="repo-size" onclick="javascript:showRepoSize('repo_size_2','${c.dbrepo.repo_name}','${str(h.get_token())}')">${_('Repository Size')}</a> | |
|
212 | <span id="repo_size_2"></span> | |
|
210 | %if h.HasRepoPermissionAll('repository.admin')(c.repo_name): | |
|
211 | <li> | |
|
212 | ${h.link_to(_('Settings'),h.url('edit_repo',repo_name=c.repo_name),class_='settings')} | |
|
213 | 213 | </li> |
|
214 | 214 | %endif |
|
215 | 215 | </ul> |
General Comments 0
You need to be logged in to leave comments.
Login now