# HG changeset patch # User Marcin Kuzminski # Date 2019-03-22 22:58:57 # Node ID 3bcfa6d40aa796275dd8a3cbf4104fc55b0944b8 # Parent 007450ec537cb2cb5d28d3afff402fceb61615bf ui: moved group settings outside diff --git a/rhodecode/templates/admin/repo_groups/repo_group_edit.mako b/rhodecode/templates/admin/repo_groups/repo_group_edit.mako --- a/rhodecode/templates/admin/repo_groups/repo_group_edit.mako +++ b/rhodecode/templates/admin/repo_groups/repo_group_edit.mako @@ -13,7 +13,7 @@ <%def name="menu_bar_subnav()"> - ${self.repo_group_menu(active='options')} + ${self.repo_group_menu(active='settings')} <%def name="main_content()"> diff --git a/rhodecode/templates/admin/repos/repo_edit.mako b/rhodecode/templates/admin/repos/repo_edit.mako --- a/rhodecode/templates/admin/repos/repo_edit.mako +++ b/rhodecode/templates/admin/repos/repo_edit.mako @@ -20,7 +20,7 @@ <%def name="menu_bar_subnav()"> - ${self.repo_menu(active='options')} + ${self.repo_menu(active='settings')} <%def name="main_content()"> diff --git a/rhodecode/templates/base/base.mako b/rhodecode/templates/base/base.mako --- a/rhodecode/templates/base/base.mako +++ b/rhodecode/templates/base/base.mako @@ -265,14 +265,16 @@ %endif + %if h.HasRepoPermissionAll('repository.admin')(c.repo_name): +
  • + %endif +