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