Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
03534bb2
Commit
03534bb2
authored
Apr 25, 2017
by
Kushal Pandya
Committed by
Alfredo Sumaran
Apr 25, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add sub-nav for Project Integration Services edit page
parent
b93cc690
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
2 deletions
+7
-2
app/views/layouts/nav/_project.html.haml
app/views/layouts/nav/_project.html.haml
+1
-1
app/views/projects/services/edit.html.haml
app/views/projects/services/edit.html.haml
+1
-0
app/views/projects/settings/_head.html.haml
app/views/projects/settings/_head.html.haml
+1
-1
changelogs/unreleased/31174-project-integration-service-sub-nav.yml
.../unreleased/31174-project-integration-service-sub-nav.yml
+4
-0
No files found.
app/views/layouts/nav/_project.html.haml
View file @
03534bb2
...
@@ -56,7 +56,7 @@
...
@@ -56,7 +56,7 @@
Snippets
Snippets
-
if
project_nav_tab?
:settings
-
if
project_nav_tab?
:settings
=
nav_link
(
path:
%w[projects#edit members#show integrations#show repository#show ci_cd#show pages#show]
)
do
=
nav_link
(
path:
%w[projects#edit members#show integrations#show
services#edit
repository#show ci_cd#show pages#show]
)
do
=
link_to
edit_project_path
(
@project
),
title:
'Settings'
,
class:
'shortcuts-tree'
do
=
link_to
edit_project_path
(
@project
),
title:
'Settings'
,
class:
'shortcuts-tree'
do
%span
%span
Settings
Settings
...
...
app/views/projects/services/edit.html.haml
View file @
03534bb2
-
page_title
@service
.
title
,
"Services"
-
page_title
@service
.
title
,
"Services"
=
render
"projects/settings/head"
=
render
'form'
=
render
'form'
app/views/projects/settings/_head.html.haml
View file @
03534bb2
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
%span
%span
Members
Members
-
if
can_edit
-
if
can_edit
=
nav_link
(
controller:
:integrations
)
do
=
nav_link
(
controller:
[
:integrations
,
:services
]
)
do
=
link_to
project_settings_integrations_path
(
@project
),
title:
'Integrations'
do
=
link_to
project_settings_integrations_path
(
@project
),
title:
'Integrations'
do
%span
%span
Integrations
Integrations
...
...
changelogs/unreleased/31174-project-integration-service-sub-nav.yml
0 → 100644
View file @
03534bb2
---
title
:
Add sub-nav for Project Integration Services edit page
merge_request
:
10813
author
:
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment