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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
bc2ccb66
Commit
bc2ccb66
authored
Apr 08, 2022
by
Andrew Fontaine
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Migrate group auto devops form to GitLab UI
Part of pajamas migration day Changelog: changed
parent
c81a03a7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
app/views/groups/settings/ci_cd/_auto_devops_form.html.haml
app/views/groups/settings/ci_cd/_auto_devops_form.html.haml
+9
-9
No files found.
app/views/groups/settings/ci_cd/_auto_devops_form.html.haml
View file @
bc2ccb66
=
form_for
group
,
url:
update_auto_devops_group_settings_ci_cd_path
(
group
),
method: :patch
do
|
f
|
=
gitlab_ui_
form_for
group
,
url:
update_auto_devops_group_settings_ci_cd_path
(
group
),
method: :patch
do
|
f
|
=
form_errors
(
group
)
%fieldset
.form-group
.card.auto-devops-card
.card-body
.form-check
=
f
.
check_box
:auto_devops_enabled
,
class:
'form-check-input'
,
checked:
group
.
auto_devops_enabled?
=
f
.
label
:auto_devops_enabled
,
class:
'form-check-label'
d
o
%strong
=
s_
(
'GroupSettings|Default to Auto DevOps pipeline for all projects within this group'
)
=
gl_badge_tag
badge_for_auto_devops_scope
(
group
),
variant: :info
.form-text.text-muted
=
s_
(
'GroupSettings|The Auto DevOps pipeline runs if no alternative CI configuration file is found.'
)
=
link_to
_
(
'Learn more.'
),
help_page_path
(
'topics/autodevops/index.md'
),
target:
'_blank'
,
rel:
'noopener noreferrer'
-
learn_more_link
=
link_to
_
(
'Learn more.'
),
help_page_path
(
'topics/autodevops/index.md'
),
target:
'_blank'
,
rel:
'noopener noreferrer'
-
help_text
=
s_
(
'GroupSettings|The Auto DevOps pipeline runs if no alternative CI configuration file is found.'
)
-
badge
=
gl_badge_tag
badge_for_auto_devops_scope
(
group
),
variant: :inf
o
-
label
=
s_
(
'GroupSettings|Default to Auto DevOps pipeline for all projects within this group'
)
=
f
.
gitlab_ui_checkbox_component
:auto_devops_enabled
,
'%{label} %{badge}'
.
html_safe
%
{
label:
label
,
badge:
badge
.
html_safe
},
help_text:
'%{help_text} %{learn_more_link}'
.
html_safe
%
{
help_text:
help_text
,
learn_more_link:
learn_more_link
},
checkbox_options:
{
checked:
group
.
auto_devops_enabled?
}
=
f
.
submit
_
(
'Save changes'
),
class:
'btn gl-button btn-confirm gl-mt-5'
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