Show More
@@ -28,7 +28,7 b'' | |||
|
28 | 28 | <ul class="links"> |
|
29 | 29 | <li> |
|
30 | 30 | %if h.HasPermissionAny('hg.admin')(): |
|
31 | <span>${h.link_to(_(u'Add group'),h.url('new_repos_group'))}</span> | |
|
31 | <span>${h.link_to(_(u'Add repository group'),h.url('new_repos_group'))}</span> | |
|
32 | 32 | %endif |
|
33 | 33 | </li> |
|
34 | 34 | </ul> |
@@ -12,19 +12,19 b'' | |||
|
12 | 12 | %if c.group: |
|
13 | 13 | <span>${h.link_to(_('Add repository'),h.url('new_repo',parent_group=c.group.group_id))}</span> |
|
14 | 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> | |
|
15 | <span>${h.link_to(_(u'Add repository group'),h.url('new_repos_group', parent_group=c.group.group_id))}</span> | |
|
16 | 16 | %endif |
|
17 | 17 | %else: |
|
18 | 18 | <span>${h.link_to(_('Add repository'),h.url('new_repo'))}</span> |
|
19 | 19 | %if h.HasPermissionAny('hg.admin')(): |
|
20 | <span>${h.link_to(_(u'Add group'),h.url('new_repos_group'))}</span> | |
|
20 | <span>${h.link_to(_(u'Add repository group'),h.url('new_repos_group'))}</span> | |
|
21 | 21 | %endif |
|
22 | 22 | %endif |
|
23 | 23 | </li> |
|
24 | 24 | %endif |
|
25 | 25 | %if c.group and h.HasReposGroupPermissionAny('group.admin')(c.group.group_name): |
|
26 | 26 | <li> |
|
27 | <span>${h.link_to(_('Edit group'),h.url('edit_repos_group',group_name=c.group.group_name), title=_('You have admin right to this group, and can edit it'))}</span> | |
|
27 | <span>${h.link_to(_('Edit repository group'),h.url('edit_repos_group',group_name=c.group.group_name), title=_('You have admin right to this group, and can edit it'))}</span> | |
|
28 | 28 | </li> |
|
29 | 29 | %endif |
|
30 | 30 | </ul> |
General Comments 0
You need to be logged in to leave comments.
Login now