BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
53523078
Unverified
Commit
53523078
authored
May 11, 2017
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename CI/CD Pipelines to Pipelines in the project settings
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
59c9ec5c
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
5 deletions
+9
-5
pipelines_settings_controller.rb
app/controllers/projects/pipelines_settings_controller.rb
+1
-1
_show.html.haml
app/views/projects/pipelines_settings/_show.html.haml
+1
-1
_head.html.haml
app/views/projects/settings/_head.html.haml
+2
-2
show.html.haml
app/views/projects/settings/ci_cd/show.html.haml
+1
-1
dz-rename-pipelines-settings-tab.yml
changelogs/unreleased/dz-rename-pipelines-settings-tab.yml
+4
-0
No files found.
app/controllers/projects/pipelines_settings_controller.rb
View file @
53523078
...
...
@@ -7,7 +7,7 @@ class Projects::PipelinesSettingsController < Projects::ApplicationController
def
update
if
@project
.
update_attributes
(
update_params
)
flash
[
:notice
]
=
"
CI/CD
Pipelines settings for '
#{
@project
.
name
}
' were successfully updated."
flash
[
:notice
]
=
"Pipelines settings for '
#{
@project
.
name
}
' were successfully updated."
redirect_to
namespace_project_settings_ci_cd_path
(
@project
.
namespace
,
@project
)
else
render
'show'
...
...
app/views/projects/pipelines_settings/_show.html.haml
View file @
53523078
.row.prepend-top-default
.col-lg-3.profile-settings-sidebar
%h4
.prepend-top-0
CI/CD
Pipelines
Pipelines
.col-lg-9
=
form_for
@project
,
url:
namespace_project_pipelines_settings_path
(
@project
.
namespace
.
becomes
(
Namespace
),
@project
)
do
|
f
|
%fieldset
.builds-feature
...
...
app/views/projects/settings/_head.html.haml
View file @
53523078
...
...
@@ -24,9 +24,9 @@
Repository
-
if
@project
.
feature_available?
(
:builds
,
current_user
)
=
nav_link
(
controller: :ci_cd
)
do
=
link_to
namespace_project_settings_ci_cd_path
(
@project
.
namespace
,
@project
),
title:
'
CI/CD
Pipelines'
do
=
link_to
namespace_project_settings_ci_cd_path
(
@project
.
namespace
,
@project
),
title:
'Pipelines'
do
%span
CI/CD
Pipelines
Pipelines
-
if
Gitlab
.
config
.
pages
.
enabled
=
nav_link
(
controller: :pages
)
do
=
link_to
namespace_project_pages_path
(
@project
.
namespace
,
@project
),
title:
'Pages'
do
...
...
app/views/projects/settings/ci_cd/show.html.haml
View file @
53523078
-
page_title
"
CI/CD
Pipelines"
-
page_title
"Pipelines"
=
render
"projects/settings/head"
=
render
'projects/runners/index'
...
...
changelogs/unreleased/dz-rename-pipelines-settings-tab.yml
0 → 100644
View file @
53523078
---
title
:
Rename CI/CD Pipelines to Pipelines in the project settings
merge_request
:
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