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