summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2017-07-17 15:46:16 +0000
committerAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2017-07-17 15:46:16 +0000
commit6c26fb353a38f435648fbde46fe3560464d29602 (patch)
tree63bdf1c288a2bba2c1f1e67e315f7c79cde36c21
parent09617b7d7614d103af7cc32693db905c353a6090 (diff)
parent531429e14d271e2ba769ce4733d4491882c05916 (diff)
downloadgitlab-ce-6c26fb353a38f435648fbde46fe3560464d29602.tar.gz
Merge branch 'group-sub-settings-new-sidebar' into 'master'
Added sub-nav to new group sidebar settings Closes #35140 See merge request !12907
-rw-r--r--app/views/layouts/nav/_new_group_sidebar.html.haml17
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