add: change label for adding a repo group inside another one

This commit is contained in:
Marcin Kuzminski 2019-05-21 11:46:51 +02:00
parent d2d2d850eb
commit 2af444c473

View file

@ -191,6 +191,7 @@
<%def name="repo_page_title(repo_instance)">
<div class="title-content repo-title">
<div class="title-main">
## SVN/HG/GIT icons
%if h.is_hg(repo_instance):
@ -411,7 +412,7 @@
<li><a href="${h.route_path('repo_new',_query=dict(parent_group=c.repo_group.group_id))}">${_('Add Repository')}</a></li>
%endif
%if c.is_super_admin or group_admin:
<li><a href="${h.route_path('repo_group_new',_query=dict(parent_group=c.repo_group.group_id))}">${_(u'Add Parent Group')}</a></li>
<li><a href="${h.route_path('repo_group_new',_query=dict(parent_group=c.repo_group.group_id))}">${_(u'Add Repository Group')}</a></li>
%endif
</ul>
</li>