diff options
author | Phil Hughes <me@iamphill.com> | 2017-07-17 09:16:43 +0100 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-07-17 09:16:43 +0100 |
commit | 531429e14d271e2ba769ce4733d4491882c05916 (patch) | |
tree | bdd788b14472f6017a0bf983e8a4a0a5f5c0b629 | |
parent | bcd828491c1265206af3daa8aa793e2149badfad (diff) | |
download | gitlab-ce-531429e14d271e2ba769ce4733d4491882c05916.tar.gz |
Added sub-nav to new group sidebargroup-sub-settings-new-sidebar
Closes #35140
-rw-r--r-- | app/views/layouts/nav/_new_group_sidebar.html.haml | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/app/views/layouts/nav/_new_group_sidebar.html.haml b/app/views/layouts/nav/_new_group_sidebar.html.haml index 7b68d11041e..c80308ed0de 100644 --- a/app/views/layouts/nav/_new_group_sidebar.html.haml +++ b/app/views/layouts/nav/_new_group_sidebar.html.haml @@ -55,7 +55,22 @@ %span Members - if current_user && can?(current_user, :admin_group, @group) - = nav_link(path: %w[groups#projects groups#edit]) do + = nav_link(path: %w[groups#projects groups#edit ci_cd#show]) do = link_to edit_group_path(@group), title: 'Settings' do %span Settings + %ul.sidebar-sub-level-items + = nav_link(path: 'groups#edit') do + = link_to edit_group_path(@group), title: 'General' do + %span + General + + = nav_link(path: 'groups#projects') do + = link_to projects_group_path(@group), title: 'Projects' do + %span + Projects + + = nav_link(controller: :ci_cd) do + = link_to group_settings_ci_cd_path(@group), title: 'Pipelines' do + %span + Pipelines |