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
@@ -13,7 +13,7 @@
${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
%endif