Rename CI/CD Pipelines to Pipelines in the project settings
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
parent
59c9ec5ce6
commit
5352307839
|
@ -7,7 +7,7 @@ class Projects::PipelinesSettingsController < Projects::ApplicationController
|
||||||
|
|
||||||
def update
|
def update
|
||||||
if @project.update_attributes(update_params)
|
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)
|
redirect_to namespace_project_settings_ci_cd_path(@project.namespace, @project)
|
||||||
else
|
else
|
||||||
render 'show'
|
render 'show'
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
.row.prepend-top-default
|
.row.prepend-top-default
|
||||||
.col-lg-3.profile-settings-sidebar
|
.col-lg-3.profile-settings-sidebar
|
||||||
%h4.prepend-top-0
|
%h4.prepend-top-0
|
||||||
CI/CD Pipelines
|
Pipelines
|
||||||
.col-lg-9
|
.col-lg-9
|
||||||
= form_for @project, url: namespace_project_pipelines_settings_path(@project.namespace.becomes(Namespace), @project) do |f|
|
= form_for @project, url: namespace_project_pipelines_settings_path(@project.namespace.becomes(Namespace), @project) do |f|
|
||||||
%fieldset.builds-feature
|
%fieldset.builds-feature
|
||||||
|
|
|
@ -24,9 +24,9 @@
|
||||||
Repository
|
Repository
|
||||||
- if @project.feature_available?(:builds, current_user)
|
- if @project.feature_available?(:builds, current_user)
|
||||||
= nav_link(controller: :ci_cd) do
|
= 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
|
%span
|
||||||
CI/CD Pipelines
|
Pipelines
|
||||||
- if Gitlab.config.pages.enabled
|
- if Gitlab.config.pages.enabled
|
||||||
= nav_link(controller: :pages) do
|
= nav_link(controller: :pages) do
|
||||||
= link_to namespace_project_pages_path(@project.namespace, @project), title: 'Pages' do
|
= link_to namespace_project_pages_path(@project.namespace, @project), title: 'Pages' do
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
- page_title "CI/CD Pipelines"
|
- page_title "Pipelines"
|
||||||
= render "projects/settings/head"
|
= render "projects/settings/head"
|
||||||
|
|
||||||
= render 'projects/runners/index'
|
= render 'projects/runners/index'
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
---
|
||||||
|
title: Rename CI/CD Pipelines to Pipelines in the project settings
|
||||||
|
merge_request:
|
||||||
|
author:
|
Loading…
Reference in New Issue