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
90bc5729
Commit
90bc5729
authored
Mar 26, 2021
by
Nicolò Maria Mezzopera
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update the Package settings to use the blue primary button
parent
a0ccf05c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
3 deletions
+8
-3
app/assets/javascripts/registry/settings/components/settings_form.vue
...avascripts/registry/settings/components/settings_form.vue
+1
-1
changelogs/unreleased/325812-update-the-package-settings-to-use-the-blue-primary-button.yml
...e-the-package-settings-to-use-the-blue-primary-button.yml
+5
-0
spec/features/projects/settings/registry_settings_spec.rb
spec/features/projects/settings/registry_settings_spec.rb
+2
-2
No files found.
app/assets/javascripts/registry/settings/components/settings_form.vue
View file @
90bc5729
...
...
@@ -291,8 +291,8 @@ export default {
type=
"submit"
:disabled=
"isSubmitButtonDisabled"
:loading=
"showLoadingIcon"
variant=
"success"
category=
"primary"
variant=
"confirm"
class=
"js-no-auto-disable gl-mr-4"
>
{{ $options.i18n.SET_CLEANUP_POLICY_BUTTON }}
...
...
changelogs/unreleased/325812-update-the-package-settings-to-use-the-blue-primary-button.yml
0 → 100644
View file @
90bc5729
---
title
:
Update the Package settings to use the blue primary button
merge_request
:
57468
author
:
type
:
fixed
spec/features/projects/settings/registry_settings_spec.rb
View file @
90bc5729
...
...
@@ -39,7 +39,7 @@ RSpec.describe 'Project > Settings > CI/CD > Container registry tag expiration p
select
(
'7 days'
,
from:
'Remove tags older than:'
)
fill_in
(
'Remove tags matching:'
,
with:
'.*-production'
)
submit_button
=
find
(
'
.btn.gl-button.btn-success
'
)
submit_button
=
find
(
'
[data-testid="save-button"
'
)
expect
(
submit_button
).
not_to
be_disabled
submit_button
.
click
end
...
...
@@ -53,7 +53,7 @@ RSpec.describe 'Project > Settings > CI/CD > Container registry tag expiration p
within
'#js-registry-policies'
do
fill_in
(
'Remove tags matching:'
,
with:
'*-production'
)
submit_button
=
find
(
'
.btn.gl-button.btn-success
'
)
submit_button
=
find
(
'
[data-testid="save-button"
'
)
expect
(
submit_button
).
not_to
be_disabled
submit_button
.
click
end
...
...
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