Show More
@@ -11,8 +11,14 b'' | |||||
11 | <li> |
|
11 | <li> | |
12 | %if c.group: |
|
12 | %if c.group: | |
13 | <span>${h.link_to(_('Add repository'),h.url('admin_settings_create_repository',parent_group=c.group.group_id))}</span> |
|
13 | <span>${h.link_to(_('Add repository'),h.url('admin_settings_create_repository',parent_group=c.group.group_id))}</span> | |
|
14 | %if h.HasPermissionAny('hg.admin')() or h.HasReposGroupPermissionAny('group.admin')(c.group.group_name): | |||
|
15 | <span>${h.link_to(_(u'Add group'),h.url('new_repos_group', parent_group=c.group.group_id))}</span> | |||
|
16 | %endif | |||
14 | %else: |
|
17 | %else: | |
15 | <span>${h.link_to(_('Add repository'),h.url('admin_settings_create_repository'))}</span> |
|
18 | <span>${h.link_to(_('Add repository'),h.url('admin_settings_create_repository'))}</span> | |
|
19 | %if h.HasPermissionAny('hg.admin')(): | |||
|
20 | <span>${h.link_to(_(u'Add group'),h.url('new_repos_group'))}</span> | |||
|
21 | %endif | |||
16 | %endif |
|
22 | %endif | |
17 | </li> |
|
23 | </li> | |
18 | %endif |
|
24 | %endif |
General Comments 0
You need to be logged in to leave comments.
Login now