diff --git a/rhodecode/templates/index_base.html b/rhodecode/templates/index_base.html
--- a/rhodecode/templates/index_base.html
+++ b/rhodecode/templates/index_base.html
@@ -9,7 +9,11 @@
%if h.HasPermissionAny('hg.admin','hg.create.repository')():
-
+ %if c.group:
+ ${h.link_to(_('ADD REPOSITORY'),h.url('admin_settings_create_repository',parent_group=c.group.group_id))}
+ %else:
${h.link_to(_('ADD REPOSITORY'),h.url('admin_settings_create_repository'))}
+ %endif
%endif
@@ -77,7 +81,7 @@
##REPO NAME AND ICONS
- ${dt.repo_name(repo['name'],repo['dbrepo']['repo_type'],repo['dbrepo']['private'],repo['dbrepo_fork'].get('repo_name'))}
+ ${dt.repo_name(repo['name'],repo['dbrepo']['repo_type'],repo['dbrepo']['private'],repo['dbrepo_fork'].get('repo_name'),pageargs.get('short_repo_names'))}
|
##DESCRIPTION
@@ -115,7 +119,7 @@
|